Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
IR287 ClientSDKs GoldMedal, IR288 - Finishup
-
3
Description
User on mailing list did report his Cordova app is crashing when receiving push notificaition with version 3.0.x of the plugin.
http://lists.jboss.org/pipermail/aerogear-users/2016-August/000892.html
provided user stack-trace:
08-05 12:32:23.203: W/Bundle(14698): Key google.sent_time expected String but value was a java.lang.Long. The default value <null> was returned. 08-05 12:32:23.203: W/Bundle(14698): Attempt to cast generated internal exception: 08-05 12:32:23.203: W/Bundle(14698): java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String 08-05 12:32:23.203: W/Bundle(14698): at android.os.BaseBundle.getString(BaseBundle.java:923) 08-05 12:32:23.203: W/Bundle(14698): at org.jboss.aerogear.cordova.push.Message.<init>(Message.java:46) 08-05 12:32:23.203: W/Bundle(14698): at org.jboss.aerogear.cordova.push.NotificationMessageHandler.createNotification(NotificationMessageHandler.java:66) 08-05 12:32:23.203: W/Bundle(14698): at org.jboss.aerogear.cordova.push.NotificationMessageHandler.onMessage(NotificationMessageHandler.java:55) 08-05 12:32:23.203: W/Bundle(14698): at org.jboss.aerogear.android.unifiedpush.RegistrarManager$2.run(RegistrarManager.java:177) 08-05 12:32:23.203: W/Bundle(14698): at java.lang.Thread.run(Thread.java:818)