Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Created November 20, 2017 19:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save juucustodio/1b0b7cca4c2822117fdc846d1b6b0d78 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
...
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
LoadApplication(new App());
OneSignal.Current.StartInit("Insert OneSignal App ID here").EndInit();
return base.FinishedLaunching(app, options);
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment