cordova - Phonegap push plugin stopped working after added crosswalk plugin -
i'm developing using ionic , i'm facing odd problem, after added crosswalk webview plugin phonegap push plugin stopped work.
i got "errors", if can call them that:
ionic.cloud.min.js:6 native: deviceready did not fire within 2000ms. can happen when plugins in inconsistent state. try removing plugins plugins/ , reinstalling them.
cordova.js:1223 deviceready has not fired after 5 seconds.
cordova.js:1216 channel not fired: oncordovainfoready
cordova.js:1216 channel not fired: onfilesystempathsready
ionic.cloud.min.js:6 ionic insights: device information unavailable.
index.html#/login:1 deferred long-running timer task(s) improve scrolling smoothness. see crbug.com/574343.
and doesn't works anymore.
here cordova plugin list:
cordova plugins
cordova-plugin-compat 1.0.0 "compat"
cordova-plugin-console 1.0.4 "console"
cordova-plugin-crosswalk-webview 2.1.0 "crosswalk webview engine"
cordova-plugin-device 1.1.3 "device"
cordova-plugin-file 4.3.0 "file"
cordova-plugin-splashscreen 4.0.0 "splashscreen"
cordova-plugin-statusbar 2.2.0 "statusbar"
cordova-plugin-whitelist 1.3.0 "whitelist"
ionic-plugin-keyboard 2.2.1 "keyboard"
phonegap-plugin-push 1.9.0 "pushplugin"
ionic info
your system information:
cordova cli: 6.4.0
ionic framework version: 1.3.1
ionic cli version: 2.1.4
ionic app lib version: 2.1.2
os:
node version: v4.2.4
--------------------------------
so it, without crosswalk plugin, phonegap push plugin works, don't.
hope can me,
thank you!
----------------------edit
after try , error, i'm thinking that's related scope when using crosswalk, because $ionicpush.register() not being fired.
what changes in $scope.$on("$ionicview.beforeenter") using crosswalk?
does still working or crosswalk have own "beforeenter" diferente web view.
attaching images of console ionic run android:
as can see in line:
ionic push: saved push token: djympt2lvw8:apa91be1uyh6qkksgykcbofne_hxvqpvafsr7pjx_f_bgkirie5sxpbgjenjs8heqqg7tayknajp5srjseefoyioz72doy9vgq1-4dkkmmq6cikhvlsbmxfkz57xbafclesuxpnp_zc2
the token isn't registered crosswalk without crosswalk.
version 2.1.0 of crosswalk plugin doesn't work cordova-android 6.0.0 (the 1 included in cordova cli 6.4.0)
instead of downgrading can install crosswalk github has fix it
cordova plugin add https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview
Comments
Post a Comment