Open Ameggg opened 4 years ago
I was able to modify the plugin locally and achieved the desired feature:
android/src/main/kotlin/com/github/florent37/assets_audio_player/notification/NotificationService.kt
added .setOnlyAlertOnce(true)
after .setContentText(action.audioMetas.artist)
I'm still not an expert at PR and linking Flutter to Native code :)
May someone kindly explain how to implement the above feature: (give the programmer the option to repeatedly alert user when notification meta data updated or not)
yes will great to have a solution for it its work fine on some devices others each time you switch a song its popup again
Could you add the ability to decide whether or not to repeatedly alert the user that the notification metas have been updated on Android.
Useful StackOverflow Post: https://stackoverflow.com/a/15538209/13835434
I do not want the notification to appear every time the metas are updated: