parse.com-php-library icon indicating copy to clipboard operation
parse.com-php-library copied to clipboard

Valide Certificate iOS Error

Open ashwinreddy opened this issue 12 years ago • 3 comments
trafficstars

I did the setup as it said to do so. I also added in the same values in the parse.php file. After I did this, it gave me this error:

Fatal error: Uncaught ParseLibraryException: [115]: parse.com error: To push to iOS devices, you must first configure a valid certificate. thrown in /Applications/MAMP/htdocs/ParseSDK/parse.php on line 181

Line 181: throw new ParseLibraryException($msg,$code);

ashwinreddy avatar Jul 06 '13 17:07 ashwinreddy

You have to setup push notifications on parse.com first before you can use this feture with the library. Instructions here:

https://parse.com/tutorials/ios-push-notifications

andrewscofield avatar Jul 06 '13 20:07 andrewscofield

What if I don't want to enable push notifications for now?

ashwinreddy avatar Jul 07 '13 05:07 ashwinreddy

Well that error isn't coming from the php library, its coming from parse.com. They only issue that error if a push was attempted.

What setup are you doing for this again?

andrewscofield avatar Jul 07 '13 07:07 andrewscofield