Skip to content

Commit

Permalink
Merge pull request #362 from pmatatias/update-example-init-service
Browse files Browse the repository at this point in the history
feat: remove startService method
  • Loading branch information
ekasetiawans committed Sep 26, 2023
2 parents 8b40ace + 5bee5f3 commit cdab4cf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/flutter_background_service/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ Future<void> initializeService() async {
);
}


await flutterLocalNotificationsPlugin
.resolvePlatformSpecificImplementation<
AndroidFlutterLocalNotificationsPlugin>()
Expand Down Expand Up @@ -70,8 +69,6 @@ Future<void> initializeService() async {
onBackground: onIosBackground,
),
);

service.startService();
}

// to ensure this is executed
Expand Down

0 comments on commit cdab4cf

Please sign in to comment.