Created
March 2, 2021 01:21
-
-
Save felipebaltazar/73c7593c2176f7f3b0d939cf6d0ff3d4 to your computer and use it in GitHub Desktop.
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
namespace Notifications.iOS | |
{ | |
[Register(nameof(AppDelegate))] | |
public class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate | |
{ | |
public override bool FinishedLaunching(UIApplication app, NSDictionary options) | |
{ | |
this.ShinyFinishedLaunching(new MyStartup()); | |
// Você pode inscrever em um tópico por padrão | |
FirebaseMessaging.Instance.SubscribeToTopic("all"); | |
global::Xamarin.Forms.Forms.Init(); | |
LoadApplication(new App()); | |
return base.FinishedLaunching(app, options); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment