flutter_background
flutter_background copied to clipboard
[BUG] Release 1.2.0 is broken
Describe the bug
The release 1.2.0 is broken on real devices (Pixel/Samsung/Motorola). The always-visible-notification is not shown anymore and the app stopps working after some time.
Workaround
Downgrading back to 1.1.0 and the apps works again as expected.
Can confirm on Xiaomi Mi 9T Pro running Pixel-based Android 13 custom ROM. No notification is displayed
@boldt Which version of Android are you using?
Android 12
same issue, not show notification.
The Service is removed from manifest, look here: https://github.com/JulianAssmann/flutter_background/commit/fcce0d57525802b6f720dee0a080a10a0feaca4b#diff-93083d0574bec8be4b25f798b65dd82a612412c23a79dc9bdfdfb4a6b7ab37a3L3-L13
It shouldn't be removed. The workaround is to add it to your manifest:
<service
android:name="de.julianassmann.flutter_background.IsolateHolderService"
android:exported="false" />
But the changes i've linked should definitely be reversed
I downgraded but its a new app so kotlin error, does that mean I need to have support for android 13 or can I do some simple fix
┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────┐ │ [!] Your project requires a newer version of the Kotlin Gradle plugin. │ │ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then │ │ update /Users/vmwsree/VIVEK-Personal/lab/letsgocamp/android/build.gradle: │ │ ext.kotlin_version = '<latest-version>'