Last active
November 20, 2017 19:01
-
-
Save juucustodio/d9d665dc83db916e7258818064dff3e8 to your computer and use it in GitHub Desktop.
Example of Push Notifications with OneSignal in Xamarin.Forms applications - http://julianocustodio.com/onesignal-push-notification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="{InsertPackageNameHere}" android:installLocation="auto"> | |
<uses-sdk android:minSdkVersion="15" /> | |
<permission android:name="{InsertPackageNameHere}.permission.C2D_MESSAGE" android:protectionLevel="signature" /> | |
<uses-permission android:name="{InsertPackageNameHere}.permission.C2D_MESSAGE" /> | |
<application android:label="DemoNotification.Android"> | |
<receiver android:name="com.onesignal.GcmBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND"> | |
<intent-filter> | |
<action android:name="com.google.android.c2dm.intent.RECEIVE" /> | |
<category android:name="{InsertPackageNameHere}" /> | |
</intent-filter> | |
</receiver> | |
</application> | |
</manifest> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment