bc34d96329
Device-surfaced on physical Android 13+ (worked on emulator): A) The media notification never appeared because the app never requested POST_NOTIFICATIONS at runtime — the manifest declares it and the foreground service is correct, but Android 13+ denies it by default until asked. Add permission_handler ^12.0.1 and request Permission.notification once at startup (post-first-frame, Platform.isAndroid-guarded; no-op on <13 / once decided). B) When the #52 idle/dismiss teardown nulled mediaItem while the full NowPlayingScreen was open, it stranded the user on an empty "Nothing playing." Scaffold. Now post-frame maybePop() so it auto-minimizes (the mini bar is already gone). pubspec.lock + db.g.dart regenerated by CI/build. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>