Parse Push.NET Device Token not saved in installation

JimSwetmanJimSwetman USMember
edited May 2015 in Xamarin.Android

Hi.

I have been playing with the new Parse Push.Net library. I have followed the tutorial but my app wasn't saving an installation in the Parse Core. I then added the SubscribeAsync line which is creating an installation (have also done this to subscribe to a channel successfully).

The problem I am facing is the _deviceToken _field is not being populated and without this I am unable to send a push notification to the device.

I am sure I am missing something really simple here. Please help.

My code for my Application class is below (Keys are hidden)

Thanks

 public override void OnCreate()
        {
            base.OnCreate();

            // Initialize the parse client with your Application ID and .NET Key found on
            // your Parse dashboard
            ParseClient.Initialize("KEY", "KEY");

            ParsePush.SubscribeAsync("");

            ParsePush.ParsePushNotificationReceived += ParsePush.DefaultParsePushNotificationReceivedHandler;
        }

Answers

Sign In or Register to comment.