Last active
November 20, 2017 18:59
Star
You must be signed in to star a gist
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
... | |
public App() | |
{ | |
InitializeComponent(); | |
MainPage = new DemoNotification.MainPage(); | |
OneSignal.Current.StartInit("Insert OneSignal App ID here").EndInit(); | |
} | |
protected override void OnStart() | |
{ | |
OneSignal.Current.RegisterForPushNotifications(); | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment