Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Latypov authored and Konstantin Latypov committed Jul 18, 2022
1 parent 2a7a6ea commit 40d1782
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@ class _MyAppState extends State<MyApp> {
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"],
Expand Down

0 comments on commit 40d1782

Please sign in to comment.