Android App Crashes When Push Is Received And App Is Closed
I'm developing an Android & iOS App with cordova. Current Version there is 2.2.0. I've got the following Java code to show the Push Notification: private void putNotification(S
in your code java.lang.NullPointerException exception occurs due to null context..
so,use context which is passed in onMessage method
protectedvoidonMessage(final Context context, Intent intent)
use this context in your GCMIntentService class
Post a Comment for "Android App Crashes When Push Is Received And App Is Closed"