-
Notifications
You must be signed in to change notification settings - Fork 1.9k
App crushes when using plugin push #1708
Comments
Hi Tomavic, It seems you have the wrong plugin version. I was encountering the same problem. The app just closes as soon as the Push plugin was initiated. It seemed I installed by accident an old version of the push plugin version. Please check this by cordova plugin list: So I got version 1.8.1 while the newest is 1.10.3. When I tried to install the plugin it gives an
Hence the unwanted lower version. As I also see your plugin version is 1.8, I expect the same problem for you. On another project I was successful in installing the new 1.10.3 and the problem went away. I'm now stuck on this project where I have this unmet dependency, any thoughts are appreciated. Cordova version gives 7.0.0. Hope this gives a notch in the right direction. |
Yes , I also have another project and I it's working fine with the old version. But my current project crushes as soon as I open it UPDATE: I changed |
Hatem, are you also using Cordova 7?
Simon
|
@macdonst No, I am using 6.5.0 you can check screenshot of all version |
Okay well I'm in planes most of the day but running "adb logcat | grep
Push" while reproducing the issue will really help in diagnostics.
|
BTW I have another issue with diagnostics plugin, you can check here |
I had changed to
and I got
|
But still I didn't got it. What is the reason behind that? |
@chinib you are actually running into this bug in Cordova https://issues.apache.org/jira/browse/CB-12773 |
This thread has been automatically locked. |
I have a phonegap project that requires using your plugin to get device token and recive notification from back-end
The plugin and the app was working fine for over past 10 months, but what happened is from 2 weeks I was not able to open the app.
Every time I build it success, but when I open the app it crushes in first page (the page where I am calling push notification object).
BTW: I didn't change anything in the code
If there is particular version I should target please advise
The text was updated successfully, but these errors were encountered: