phonegap-parse-plugin
phonegap-parse-plugin copied to clipboard
notification is not received
HI I already installed the plugin and everything gonna fine, unless that the notification will not be received unless the application on background. note that the notification will be received when the application launched. Thanks.
Hi, Same problem here. Have you found a solution ? Thanks
@Moussawi7 @thomasMary I also had this problem and I checked the error logs and found this:
The Parse push service cannot start because Parse.initialize has not yet been called. If you call Parse.initialize from an Activity's onCreate, that call should instead be in the Application.onCreate. Be sure your Application class is registered in your AndroidManifest.xml with the android:name property of your tag.
After a bit of Googling I found this StackOverflow question that fixed the problem: http://stackoverflow.com/questions/23560414/apache-cordova-app-crashes-after-receiving-parse-com-push-notification
The solution is a bit hack-y but I hope it solves your problem!
@thomasMary It seem that this plugin is out of date, and no support available, try to use pushwoosh
@Moussawi7 Can I use the pushwoosh plugin with Parse.com?
I made a quick write up of how to do what @devosray said here if it helps anyone that was in my position :astonished:
https://github.com/grrrian/phonegap-parse-plugin/issues/8#issuecomment-118955744