Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Unable to push notifications from Parse

$
0
0

Hi All,
I am trying to push notification of parse to my android device in a xamarin.Forms Application.

Here is my code:
Android.manifest:














  <!--
    IMPORTANT: Change "com.parse.starter" to match your app's package name.
  -->
 <category android:name="parsexamarinpushsample.ParseApplication" />
</intent-filter>


ParseApplication.cs:

[Application(Name = "parsexamarinpushsample.ParseApplication")]
class ParseApplication : Application {
public ParseApplication(IntPtr handle, JniHandleOwnership ownerShip)
: base(handle, ownerShip) {
}

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

        ParseClient.Initialize("uuhrgZAIsSwSDb7zLmB7skYJfaXl2MJLaFhbBMwp",
            "tKYhS6WTHkX7V8IkAhEABNRbfpE88A2p5RIb5UUn");
  ParsePush.ParsePushNotificationReceived += ParsePush.DefaultParsePushNotificationReceivedHandler;
}

}
From the Parse App it's showing that Push is succeeded..I am attaching the screenshot of parse:


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>