-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't register Push Notification service with iOS Devices - PhoneGap ParsePlugin #90
Comments
+1 |
Do you get an error message from your try/catch block? I was having issues yesterday and when I was debugging with safari the parse.initialize() was not throwing and error, just basically skipped over it. From my experience when this was happening it was because my certs were not correct. I have gotten iOS to work with this plugin. |
@zinglax did you change anything in your iOS build code to make it work? |
@MichaelKuhinica no not anything specific when it comes iOS vs Android. Make sure your App ID is the same for the project and for the .p12 file you upload to Parse. I also had issues when they were not the same. Ex. my app was com.xalginz.test and my .p12 was com.zinglax.test and my code would skip the initialize(). |
On iOS 8 and 9, I had to use production provisioning profile (ad hoc) and push certs to make it work |
I was able to get the development keys working. Not sure how or why though. |
@zinglax on iOS > 8? |
@MichaelKuhinica yeah im actually using this one for the call backhttps://github.com/grrrian/phonegap-parse-plugin |
With help of @nguyenphucthanh and @adjmb for Android solution. Ios solution in commit 33d8e1f
Solved Problem avivais#90
I'm using PhoneGap ParsePlugin. I can register to "parse.com Push Notification Service" with my Android devices. Everything clear with Android but not with Ios. Whatever i tried i couldn't register.
I followed these steps on my Apple Developer Account
account.
enabled the "Distribution-Push Notifications" ) and then download
the Certificate. Let's say it's name : "PushNotification"
certificate.
App ID and devices to this provision )
PhoneGap Build
Parse.com
which downloaded after created and App ID.
parse.com.
Here is my code:
and register with :
Hope you can help me. Thanks in advance.
The text was updated successfully, but these errors were encountered: