cranberrygame / cordova-plugin-pushnotification-parsepushnotification

16 stars 16 forks source link

deviceToken undefined in iOS build #2

Closed hvalls closed 2 years ago

hvalls commented 9 years ago

Hi, I'm building my app for iOS devices by Intel XDK. Device is registered properly to Parse but the deviceToken is undefined. So I can't send push notifications. I hope you can help me, thanks.

cranberrygame commented 9 years ago

@bigdestroyer

Did you set .p12 file? If not, try this: https://github.com/cranberrygame/cordova-plugin-pushnotification-parsepushnotification#ios

Thanks

kimulus commented 8 years ago

I have the same problem over here device token is empty but registered on PARSE (I can see I with their admin tools, http://screencast.com/t/otguDK2erH)

I am running latest version of cordova (5.3.3) xCode 7.1 iOS 9.1

Thanks

sekocit commented 8 years ago

Hello! I have the same problem that no devicetoken on parse table? Did you solved it? (Also I use Intel XDK)

solange commented 8 years ago

Same problem here, I also added an 'NSLog(@"device token: %@", newDeviceToken);' on line 192 of the plugin m file, inside

but that NSLog never gets called.

chanat commented 8 years ago

I got the same problem. I got onRegisterAsPushNotificationClientSucceeded but the installation object does not contain device token (empty).

raiseisback commented 8 years ago

same here. Cordova + Xcode. Tested on iOs 7 the device is registered in parse.com but the devicetoken is undefined

Giabanga commented 8 years ago

+1