-
Notifications
You must be signed in to change notification settings - Fork 1.9k
iOS: Error in PushNotification.init after app update #408
Comments
Care to give some information regarding environment, steps and description of "some error"? |
Phonegap build version:3.7.0 I am running the app in the device I couldn't see any logs. Javascript didn't run anything placed after this line. And this happens only after updating the app. First time after installation it works perfectly. |
Use this:
|
Also, what do you mean by "only after updating the app"? |
@nicoabie I get the following error in catch. "ReferenceError: Can't find variable: PushNotification" |
@fredgalvao updating the app with a new version over the old version. |
@vasanthv which is the command you run to update the app? |
@nicoabie I just re-install the app on top of the already installed app. |
Putting the "PushNotification.init" inside the phonegap "deviceready" event solved the problem. Thanks |
i have a problem on ios, i'm not able to use push notification...in android work's very well |
This thread has been automatically locked. |
Hello,
I am implementing push notification and it works perfectly in the first time after app install. Once I update the app with a new version "PushNotification.init" gives some error and no error is also thrown at the "error" event.
Is it only for me?
The text was updated successfully, but these errors were encountered: