react-native-music-control icon indicating copy to clipboard operation
react-native-music-control copied to clipboard

closeNotification control doesnt work in android

Open kg-kartik opened this issue 3 years ago • 4 comments

Description

Control closeNotification doesnt work i.e. the notification doesnt close on swiping. Code snippet - MusicControl.enableControl('closeNotification', true, { when: 'always' })

I registered closeNotification event handler too but the event is not listening due to the same issue.

I also cannot setup a swipe gesture handler (from react native) and call stopControl method on swipe as the swipe gesture handler can't be implemented on a method.

Platform

Tested on both Android 9 and 10.

kg-kartik avatar Jun 13 '21 19:06 kg-kartik

same issue

khoitruongg avatar Jul 29 '21 09:07 khoitruongg

Thanks @kg-kartik and @khoitruongg, are you able to investigate it and perhaps create a pull request for a fix?

Cheers :)

bradfloodx avatar Jul 29 '21 11:07 bradfloodx

Thanks @kg-kartik and @khoitruongg, are you able to investigate it and perhaps create a pull request for a fix?

Cheers :)

Ahh I aint able to get the fix for that tho

kg-kartik avatar Aug 01 '21 19:08 kg-kartik

Looks like it has been already reported before: https://github.com/tanguyantoine/react-native-music-control/issues/333

gpawlik avatar Aug 27 '21 14:08 gpawlik