We are using Parse for push notifications on Android and IOS and works fine!
I am working on a Windows 8.1 app, and cannot get it to work. The app is a Universal app developed in javascript/html/css.
I followed this guide for using parse dlls in the javascript project. https://parse.com/questions/windows-8-javascript-app-push-notifications
- Added a new project Windows Runtime Component project and added a helper class.
- Downloaded the Parse SDK and added reference to Parse.dll and Parse.WinRT.dll in the project.
Reference and call the helper method in my new project, in the startup of my app (in
onactivated
event).public void InitializeParse(string appId, string key) { ParseClient.Initialize(appId, key); } public void SubscribeToParse() { ParsePush.SubscribeAsync(""); }
Tried both the
.Net-key
and theClient key
in the above.- Activated toast notification for the app.
- Published the app to Windows Phone Store, and added the keys from there to the Parse Push settings.
I can see that the phone registers to Parse because I can choose to only use the segment Windows when pushing.
The number of devices is more than 0.
The number of pushes sent is always 0.
Any Help is appreciated?
- Do I have to setup anything else in Windows Phone Store?
- Do I have to call the methods somewhere else besides in
onactivated
event? - Do I have to authorize Parse in the Window Phone Store in another way than providing the ClientSecret and SID ?