Plugins - In Depth Workshop

PhoneGap Day EU 2016

Jesse MacFadyen

http://purplecabbage.github.io/slides/pgd16Plugins/index.html

About Me

  • PhoneGap Developer since 2008
  • Apache Cordova committer
  • at Adobe for nearly 5 years now
  • @purplecabbage

Who has used cordova plugins?

  • Everyone, you have to now.
  • Since 3.0, ages ago!

Who understands how they work?

  • Much less of us
  • Let's fix that!

Homework

  • Extend a plugin, remix it, remux it ex. The globalization plugin is async, which is really irritating.

    https://github.com/apache/cordova-plugin-globalization -- All formatting/globalization info could be fetched up front, and then processing could happen NSYNC

Questions?

twitter.com/purplecabbage

One more thing, or a few ...

  • Some platforms support plugins that are separate projects
  • Some plugins reference third party libraries.
  • Cocoapod support is coming to iOS
  • gradle support exists in Android, soon plugins can actually be AARs