samedi 14 novembre 2015

Cordova Plugins don't fire until app is in background

Using Cordova v5.4.0, in iOS, running on the device through Xcode. I can see that the app is started, Cordova fires the 'active' command, but then nothing. It should register Push Notifications, doesn't happen. I have a button that should trigger a vibrate using the Vibration plugin, nothing.

However, when I hit the 'Home' button, the phone will vibrate, and in the console, I will see push registration firing off. It seems like something is causing plugins from being pushed through.

I am using the WKWebView plugin in case that has any impact and the 4.0.0-dev version of the iOS platform (the master for the plugin).

This is also being run with an Ember.js app.

Aucun commentaire:

Enregistrer un commentaire