feat: running foreground service on mobile (#261)

This commit is contained in:
Levi authored and GitHub committed 2023-11-07 17:52:10 +08:00
1 parent 83838afce9
commit aae79c2449
11 files changed
+224 -153

No files matched your search

@@ -72,6 +72,12 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Add android:stopWithTask option only when necessary. -->
<service
android:name="com.pravera.flutter_foreground_task.service.ForegroundService"
android:stopWithTask="true" />
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data