Skip to content

Commit 7e1b7a1

Browse files
author
Franco Bugnano
committed
Added ios permissions to the example app
1 parent 909fb3d commit 7e1b7a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/push_notifications/lib/main.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Future<void> main() async {
1414
channelId: 'com.talkjs.flutter_push_example.messages',
1515
channelName: 'Messages',
1616
),
17+
iosPermissions: const IOSPermissions(
18+
sound: true,
19+
badge: true,
20+
alert: true,
21+
),
1722
);
1823

1924
runApp(const MyApp());

0 commit comments

Comments
 (0)