My app crashes on registerDevice with pushwoosh-cordova-plugin.
Yesterday I build the app and it worked.
today I build again with the same code and no longer works.
Yesterday I build the app and it worked.
today I build again with the same code and no longer works.
- 7 Posts
- 0 Reply Likes
Posted 4 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Just curious: why did you build again today with the exact same code?
Anyway, the plugin was updated 9 hours ago, so it might contain a bug or the interface has changed.
Read the docs and check whether or not you need to change something in your code now. If not, try the previous version of the plugin. If that one renders no errors, please file a bug for that plugin at Github.
Anyway, the plugin was updated 9 hours ago, so it might contain a bug or the interface has changed.
Read the docs and check whether or not you need to change something in your code now. If not, try the previous version of the plugin. If that one renders no errors, please file a bug for that plugin at Github.
- 62 Posts
- 3 Reply Likes
Usually you receive crash because of incompatibility or different versions between Android Support V4 library and Google Play Services library.
This is how Pushwoosh plugin references them:
compile 'com.android.support:support-v4:+’
compile 'com.google.android.gms:play-services-gcm:+’
compile 'com.google.android.gms:play-services-location:+'
More details here:
https://github.com/Pushwoosh/pushwoos...
And here:
https://developers.google.com/android...
Looks like Google broke google play services 9.0 and fixed this in 9.0.1
Which version Google Play Services library PGB uses?
This is how Pushwoosh plugin references them:
compile 'com.android.support:support-v4:+’
compile 'com.google.android.gms:play-services-gcm:+’
compile 'com.google.android.gms:play-services-location:+'
More details here:
https://github.com/Pushwoosh/pushwoos...
And here:
https://developers.google.com/android...
Looks like Google broke google play services 9.0 and fixed this in 9.0.1
Which version Google Play Services library PGB uses?
- 7 Posts
- 0 Reply Likes
"The only option is to wait until Adobe will update Android SDK on their servers."
So i need to wait? there is no other way?
So i need to wait? there is no other way?
- 62 Posts
- 3 Reply Likes
That's why I asked: Which version Google Play Services library PGB uses?
I hope someone from PGB team can shed the light here.
I hope someone from PGB team can shed the light here.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Danilo & Shader,
if you do not set the version for your plugin you will get the latest, this may be the reason your app broke.
I quote from the documentation:
However, the author for phonegap-plugin-push reports the issue with Google services. You can read details here:
HEADS UP: Apps Crashing with phonegap-plugin-push and Google Play Services 9.0.0
Jesse
if you do not set the version for your plugin you will get the latest, this may be the reason your app broke.
I quote from the documentation:
spec: Optional, but we highly recommend locking your plugin version, as mentioned above. For git-backed plugins this will specify the git repository. If the attribute contains a full URL then it is assumed it is a git plugin.
However, the author for phonegap-plugin-push reports the issue with Google services. You can read details here:
HEADS UP: Apps Crashing with phonegap-plugin-push and Google Play Services 9.0.0
Jesse
- 7 Posts
- 0 Reply Likes
I tried several versions of the plugin and all give the same problem
- 62 Posts
- 3 Reply Likes
Because it is not the problem with the plugin itself. The plugin references the latest Google Play Services library. As mentioned before Google broke 9.0.0 and fixed it in 9.0.1
I also provided link to the Google Official release note.
I also provided link to the Google Official release note.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Danilio,
you may want to turn off the automatic update for your software. Recently, Google have been very aggressive in updating software. I have had to disable Google Play Services on some of my Test devices to keep them from upgrading.
To be clear, Shader may be correct - in that the issue is with Google Play Services library. I do not use PushWoosh or any "push" services so I cannot give you a definite answer.
However, you might get a different answer on the new "official" forum: https://forums.adobe.com/community/ph.... Please inform them of this thread so this conversation is not duplicated.
Jesse
you may want to turn off the automatic update for your software. Recently, Google have been very aggressive in updating software. I have had to disable Google Play Services on some of my Test devices to keep them from upgrading.
To be clear, Shader may be correct - in that the issue is with Google Play Services library. I do not use PushWoosh or any "push" services so I cannot give you a definite answer.
However, you might get a different answer on the new "official" forum: https://forums.adobe.com/community/ph.... Please inform them of this thread so this conversation is not duplicated.
Jesse
- 7 Posts
- 0 Reply Likes
the problem was solved. i finaly can generate my app
- 6 Posts
- 0 Reply Likes
What version of the plugin are you using? I'm using 5.1.2 and just rebuilt my app and it's still crashing. Thoughts?
- 7 Posts
- 0 Reply Likes
works on the 5.1.1 version of pushwoosh plugin
- 62 Posts
- 3 Reply Likes
Party!
- 6 Posts
- 0 Reply Likes
Did you have any luck? My app is still crashing. No update on the Adobe forums - https://forums.adobe.com/thread/2164389 either.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Brian,
there is an update on the Adobe forum. The response is from the author of the phonegap-push-plugin. It's about an authoritative answer you can get.
Jesse
there is an update on the Adobe forum. The response is from the author of the phonegap-push-plugin. It's about an authoritative answer you can get.
Jesse
- 7 Posts
- 0 Reply Likes
works on the 5.1.1 version of pushwoosh plugin
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
Geeeeh. So are you able to ship your product now that your issue ire resolved?
- 6 Posts
- 0 Reply Likes
Just tried 5.1.1 and it's working for me too! I wonder how long that had been working?
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers






Danilo Silva