From 40d17820a20b063dd9bbca5f6321dd9ba9ddaaa2 Mon Sep 17 00:00:00 2001 From: Konstantin Latypov Date: Mon, 18 Jul 2022 14:02:43 +0300 Subject: [PATCH] Fix example --- example/lib/main.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 34619b8..71b34f5 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -72,7 +72,13 @@ class _MyAppState extends State { await InfobipMobilemessaging.init(Configuration( applicationCode: "Your Application Code", inAppChatEnabled: true, - androidSettings: AndroidSettings(firebaseSenderId: "Your Firebase ID"), + androidSettings: AndroidSettings( + firebaseOptions: FirebaseOptions( + apiKey: "Some-API-Key", + applicationId: "1:1234567890:android:abc123", + projectId: "project-123ab" + ), + ), defaultMessageStorage: true, iosSettings: IOSSettings( notificationTypes: ["alert", "badge", "sound"],