Open Farukest opened 8 years ago
+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? I'm also having problems to make it work on IOS, it looks like it's skipping the initialization without errors.
@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 managed to kind of make it work. I had to use the production provisioning profile, as @Giabanga suggested but I couldn't subscribe to the default channel, I will try the different approaches suggested on issue #65 and report back.
I was able to get the development keys working. Not sure how or why though.
@zinglax on iOS > 8? I got it working with distribution keys, but used this fork instead: https://github.com/denisbabineau/phonegap-parse-plugin
@MichaelKuhinica yeah im actually using this one for the call backhttps://github.com/grrrian/phonegap-parse-plugin
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
PhoneGap Build
Parse.com
Here is my code:
and register with :
Hope you can help me. Thanks in advance.