jhomlala / betterplayer

Better video player for Flutter, with multiple configuration options. Solving typical use cases!
Apache License 2.0
929 stars 1.02k forks source link

[BUG] Notification with player controls not showing in iOS 17 #1290

Open MayurGadhiya opened 9 months ago

MayurGadhiya commented 9 months ago

I have integrated better_player v0.0.83. I need the player control notification on the notification centre and lock screen so for that I have notification configuration as below.

notificationConfiguration: BetterPlayerNotificationConfiguration( showNotification: true, title: selectedAudiobook.value?.title, author: selectedAudiobook.value?.authorName, imageUrl: selectedAudiobook.value?.thumbnailUrl, activityName: "MainActivity", ),

so setting the notification configuration as above works perfectly on android, but for iOS 17 its not working. I am not getting any notification for player controls.

Better Player version

Smartphone (please complete the following information):

andes2912 commented 9 months ago

I have integrated better_player v0.0.83. I need the player control notification on the notification centre and lock screen so for that I have notification configuration as below.

notificationConfiguration: BetterPlayerNotificationConfiguration( showNotification: true, title: selectedAudiobook.value?.title, author: selectedAudiobook.value?.authorName, imageUrl: selectedAudiobook.value?.thumbnailUrl, activityName: "MainActivity", ),

so setting the notification configuration as above works perfectly on android, but for iOS 17 its not working. I am not getting any notification for player controls.

Better Player version

  • Version: v0.0.83

Smartphone (please complete the following information):

  • Device: iPhone 11, iPhone 15
  • OS: iOS 17

Same issue in Andorid