Skip to content

Commit

Permalink
Fixed crash on android 14
Browse files Browse the repository at this point in the history
  • Loading branch information
Decoder07 committed May 24, 2024
1 parent e958af3 commit 1d13223
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Future<bool> initForegroundTask() async {
if (isPermissionsGiven) {
FlutterForegroundTask.init(
androidNotificationOptions: AndroidNotificationOptions(
foregroundServiceType: AndroidForegroundServiceType.CAMERA,
channelId: '100ms_flutter_notification',
channelName: '100ms Flutter Notification',
channelDescription:
Expand Down

0 comments on commit 1d13223

Please sign in to comment.