lovegaoshi / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, chromecast support, background mode and more!
https://react-native-track-player.js.org/
Apache License 2.0
7 stars 14 forks source link

[bug] MediaSession gets created on enabling bluetooth #28

Closed lovegaoshi closed 1 year ago

lovegaoshi commented 1 year ago

this happens to my pixel 7 + android 14, weirdly not to be S21 + android 13 yet. ccing @schoetty on enalbing bluetooth, BrrowsedPlayerWrapper calls every media browser like so?

2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser com.google.android.apps.youtube.music
2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser com.google.android.bluetooth
2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser com.google.android.googlequicksearchbox
2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser com.google.android.googlequicksearchbox
2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser com.google.android.youtube
2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser app.rvx.android.youtube
2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser com.aimp.player
2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser com.noxplay.noxplayer
2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser com.podverse
2023-10-23 06:42:44.995 26069-26069 BrowsedPlayerWrapper    pid-26069                            I  Wrapping Media Browser com.vanced.android.apps.youtube.music
2023-10-23 06:42:45.065 26069-26069 BluetoothMcpService     pid-26069                            D  create()
2023-10-23 06:42:45.067 26069-26069 BluetoothMcpService     pid-26069                            D  start()
2023-10-23 06:42:45.067 26069-26069 MediaControlProfile     pid-26069                            V  Creating Generic Media Control Service
2023-10-23 06:42:45.067 26069-26069 MediaPlayerList         pid-26069                            V  Creating MediaPlayerList
2023-10-23 06:42:45.070  1668-6243  MediaSessionService     system_server                        D  The MediaKeyEventSessionChangedListener (android.os.BinderProxy@bf75b70) is added by com.google.android.bluetooth
2023-10-23 06:42:45.082 26069-26138 ActivityThread          pid-26069                            D  Loading provider com.android.bluetooth.opp: com.android.bluetooth.opp.BluetoothOppProvider
2023-10-23 06:42:45.083 26069-26069 BtOppService            pid-26069                            D  setBluetoothOppService(): set to: com.android.bluetooth.opp.BluetoothOppService@d22708f
2023-10-23 06:42:45.083 26069-26069 ActivityAt...ionService pid-26069                            D  notifyActivityAttributionInfo UID=1002 packageName=com.google.android.bluetooth deviceAddress=no_active_device_address
2023-10-23 06:42:45.083 26069-26069 bt_btif                 pid-26069                            I  packages/modules/Bluetooth/system/btif/src/bluetooth.cc:829 get_profile_interface: get_profile_interface: id = activity_attribution
2023-10-23 06:42:45.085 26069-26137 ObexServerSockets       pid-26069                            D  create(rfcomm = -2, l2capPsm = -2)
2023-10-23 06:42:45.086 26069-26069 BluetoothPanServiceJni  pid-26069                            D  initializeNative(L113): pan
2023-10-23 06:42:45.086 26069-26069 bt_btif                 pid-26069                            I  packages/modules/Bluetooth/system/btif/src/bluetooth.cc:829 get_profile_interface: get_profile_interface: id = pan
2023-10-23 06:42:45.086 26069-26098 bt_l2cap                pid-26069                            I  packages/modules/Bluetooth/system/stack/l2cap/l2c_api.cc:172 L2CA_Register: L2CAP Registered service classic PSM: 0x000f
2023-10-23 06:42:45.086 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3454 bta_dm_eir_update_uuid: EIR Adding UUID=0x1116 into extended inquiry response
2023-10-23 06:42:45.086 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3153 bta_dm_set_eir: Generating extended inquiry response packet EIR
2023-10-23 06:42:45.086 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3454 bta_dm_eir_update_uuid: EIR Adding UUID=0x1115 into extended inquiry response
2023-10-23 06:42:45.087 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3153 bta_dm_set_eir: Generating extended inquiry response packet EIR
2023-10-23 06:42:45.087 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3454 bta_dm_eir_update_uuid: EIR Adding UUID=0x1116 into extended inquiry response
2023-10-23 06:42:45.087 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3153 bta_dm_set_eir: Generating extended inquiry response packet EIR
2023-10-23 06:42:45.087 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3454 bta_dm_eir_update_uuid: EIR Adding UUID=0x1115 into extended inquiry response
2023-10-23 06:42:45.087 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3153 bta_dm_set_eir: Generating extended inquiry response packet EIR
2023-10-23 06:42:45.087 26069-26109 BluetoothPanServiceJni  pid-26069                            D  control_state_callback(L60): state:0, local_role:3, ifname:bt-pan
2023-10-23 06:42:45.088 26069-26139 BtOppService            pid-26069                            D  insertShare parsed URI: content://media/external/downloads/1000000575
2023-10-23 06:42:45.088 26069-26069 TetheringManager        pid-26069                            I  registerTetheringEventCallback:com.google.android.bluetooth
2023-10-23 06:42:45.088 26069-26069 TetheringManager        pid-26069                            I  registerTetheringEventCallback caller:com.google.android.bluetooth
2023-10-23 06:42:45.089 26069-26137 bt_btif_sock            pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock.cc:161 btif_sock_connection_logger: address=00:00:00:00:00:00, role=1, state=1
2023-10-23 06:42:45.089 26069-26137 bt_btif_sock_rfcomm     pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock_rfc.cc:320 btsock_rfc_listen: Adding listening socket service_name: (null) - channel: -2
2023-10-23 06:42:45.089 26069-26098 bt_stack                pid-26069                            I  [INFO:port_api.cc(220)] RFCOMM_CreateConnectionWithSecurity: bd_addr=ff:ff:ff:ff:ff:ff, scn=4, is_server=1, mtu=990, uuid=000000, dlci=8, signal_state=0x0b, p_port=0x6dd31a2a50
2023-10-23 06:42:45.089 26069-26098 bt_btif_sock            pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock.cc:161 btif_sock_connection_logger: address=00:00:00:00:00:00, role=1, state=1
2023-10-23 06:42:45.092 26069-26137 bt_btif_sock            pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock.cc:161 btif_sock_connection_logger: address=00:00:00:00:00:00, role=1, state=1
2023-10-23 06:42:45.092 26069-26137 bluetooth               pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock_l2cap.cc:332 btsock_l2cap_alloc_l: Allocated l2cap socket structure socket_id:1
2023-10-23 06:42:45.092 26069-26098 bt_l2cap                pid-26069                            I  packages/modules/Bluetooth/system/stack/l2cap/l2c_api.cc:172 L2CA_Register: L2CAP Registered service classic PSM: 0x1001
2023-10-23 06:42:45.092 26069-26098 bt_btif_sock            pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock.cc:161 btif_sock_connection_logger: address=00:00:00:00:00:00, role=1, state=1
2023-10-23 06:42:45.092 26069-26098 bluetooth               pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock_l2cap.cc:357 send_app_psm_or_chan_l: Sending l2cap socket socket_id:1 channel:4097
2023-10-23 06:42:45.092 26069-26137 BluetoothAdapter        pid-26069                            D  listenUsingL2capOn: set assigned channel to 4097
2023-10-23 06:42:45.092 26069-26137 ObexServerSockets       pid-26069                            D  Succeed to create listening sockets 
2023-10-23 06:42:45.092 26069-26137 ObexServerSockets0      pid-26069                            D  startAccept()
2023-10-23 06:42:45.093 26069-26137 BluetoothSdpJni         pid-26069                            D  sdpCreateMapMasRecordNative
2023-10-23 06:42:45.093 26069-26140 ObexServerSockets0      pid-26069                            D  Accepting socket connection...
2023-10-23 06:42:45.093 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3454 bta_dm_eir_update_uuid: EIR Adding UUID=0x1132 into extended inquiry response
2023-10-23 06:42:45.093 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3153 bta_dm_set_eir: Generating extended inquiry response packet EIR
2023-10-23 06:42:45.093 26069-26140 BluetoothSocket         pid-26069                            D  accept(), timeout (ms):-1
2023-10-23 06:42:45.093 26069-26098 bt_btif_storage         pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_storage.cc:653 btif_storage_get_adapter_property: btif_storage_get_adapter_property service_mask:0x62100048
2023-10-23 06:42:45.093 26069-26141 ObexServerSockets0      pid-26069                            D  Accepting socket connection...
2023-10-23 06:42:45.093 26069-26141 BluetoothSocket         pid-26069                            D  accept(), timeout (ms):-1
2023-10-23 06:42:45.093 26069-26137 BluetoothSdpJni         pid-26069                            D  SDP Create record success - handle: 0
2023-10-23 06:42:45.094 26069-26069 BluetoothPbapService    pid-26069                            I  setCurrentUser(0)
2023-10-23 06:42:45.094 26069-26069 BluetoothPbapService    pid-26069                            I  setUserUnlocked(0)
2023-10-23 06:42:45.094 26069-26069 BluetoothPbapService    pid-26069                            I  setUserUnlocked(0)
2023-10-23 06:42:45.100 26069-26069 BluetoothPbapService    pid-26069                            D  setBluetoothPbapService(): set to: com.android.bluetooth.pbap.BluetoothPbapService@1488411
2023-10-23 06:42:45.100 26069-26069 bt_btif                 pid-26069                            W  packages/modules/Bluetooth/system/btif/src/bluetooth.cc:824 pbap_pse_dynamic_version_upgrade_is_enabled: PBAP PSE dynamic version upgrade is not enabled
2023-10-23 06:42:45.100 26069-26069 BluetoothPbapService    pid-26069                            D  sIsPseDynamicVersionUpgradeEnabled: false
2023-10-23 06:42:45.102 26069-26069 SapService              pid-26069                            V  SapBinder()
2023-10-23 06:42:45.102 26069-26142 ObexServerSockets       pid-26069                            D  create(rfcomm = -2, l2capPsm = -2)
2023-10-23 06:42:45.104 26069-26069 SapService              pid-26069                            V  start()
2023-10-23 06:42:45.105 26069-26142 bt_btif_sock            pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock.cc:161 btif_sock_connection_logger: address=00:00:00:00:00:00, role=1, state=1
2023-10-23 06:42:45.105 26069-26142 bt_btif_sock_rfcomm     pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock_rfc.cc:320 btsock_rfc_listen: Adding listening socket service_name: (null) - channel: -2
2023-10-23 06:42:45.105 26069-26098 bt_stack                pid-26069                            I  [INFO:port_api.cc(220)] RFCOMM_CreateConnectionWithSecurity: bd_addr=ff:ff:ff:ff:ff:ff, scn=5, is_server=1, mtu=990, uuid=000000, dlci=10, signal_state=0x0b, p_port=0x6dd31a2b08
2023-10-23 06:42:45.105 26069-26098 bt_btif_sock            pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock.cc:161 btif_sock_connection_logger: address=00:00:00:00:00:00, role=1, state=1
2023-10-23 06:42:45.106 26069-26142 bt_btif_sock            pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock.cc:161 btif_sock_connection_logger: address=00:00:00:00:00:00, role=1, state=1
2023-10-23 06:42:45.106 26069-26142 bluetooth               pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock_l2cap.cc:332 btsock_l2cap_alloc_l: Allocated l2cap socket structure socket_id:2
2023-10-23 06:42:45.106 26069-26098 bt_l2cap                pid-26069                            I  packages/modules/Bluetooth/system/stack/l2cap/l2c_api.cc:172 L2CA_Register: L2CAP Registered service classic PSM: 0x1003
2023-10-23 06:42:45.106 26069-26098 bt_btif_sock            pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock.cc:161 btif_sock_connection_logger: address=00:00:00:00:00:00, role=1, state=1
2023-10-23 06:42:45.106 26069-26098 bluetooth               pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_sock_l2cap.cc:357 send_app_psm_or_chan_l: Sending l2cap socket socket_id:2 channel:4099
2023-10-23 06:42:45.106  1668-6118  ActivityManager         system_server                        D  sync unfroze 4292 android.process.acore for 7
2023-10-23 06:42:45.106 26069-26142 BluetoothAdapter        pid-26069                            D  listenUsingL2capOn: set assigned channel to 4099
2023-10-23 06:42:45.106 26069-26142 ObexServerSockets       pid-26069                            D  Succeed to create listening sockets 
2023-10-23 06:42:45.106 26069-26142 ObexServerSockets1      pid-26069                            D  startAccept()
2023-10-23 06:42:45.106 26069-26142 BluetoothSdpJni         pid-26069                            D  sdpCreatePbapPseRecordNative
2023-10-23 06:42:45.106 26069-26142 BluetoothSdpJni         pid-26069                            D  SDP Create record success - handle: 1
2023-10-23 06:42:45.106 26069-26142 BluetoothPbapService    pid-26069                            D  created Sdp record, mSdpHandle=1
2023-10-23 06:42:45.106 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3454 bta_dm_eir_update_uuid: EIR Adding UUID=0x112F into extended inquiry response
2023-10-23 06:42:45.106 26069-26098 bt_bta_dm               pid-26069                            I  packages/modules/Bluetooth/system/bta/dm/bta_dm_act.cc:3153 bta_dm_set_eir: Generating extended inquiry response packet EIR
2023-10-23 06:42:45.106 26069-26146 ObexServerSockets1      pid-26069                            D  Accepting socket connection...
2023-10-23 06:42:45.106 26069-26146 BluetoothSocket         pid-26069                            D  accept(), timeout (ms):-1
2023-10-23 06:42:45.107 26069-26098 bt_btif_storage         pid-26069                            I  packages/modules/Bluetooth/system/btif/src/btif_storage.cc:653 btif_storage_get_adapter_property: btif_storage_get_adapter_property service_mask:0x62500048
2023-10-23 06:42:45.107 26069-26144 ObexServerSockets1      pid-26069                            D  Accepting socket connection...
2023-10-23 06:42:45.107 26069-26144 BluetoothSocket         pid-26069                            D  accept(), timeout (ms):-1
2023-10-23 06:42:45.109  4292-4292  ContactsDatabaseHelper  android.process.acore                I  updateUseStrictPhoneNumberComparison: US
2023-10-23 06:42:45.111 26069-26069 bt_stack                pid-26069                            I  [INFO:com_android_bluetooth_vc.cpp(223)] classInitNative: succeeds
2023-10-23 06:42:45.113 26069-26069 bt_btif                 pid-26069                            I  packages/modules/Bluetooth/system/btif/src/bluetooth.cc:829 get_profile_interface: get_profile_interface: id = volume_control
2023-10-23 06:42:45.113 26069-26098 bluetooth               pid-26069                            I  packages/modules/Bluetooth/system/stack/gatt/gatt_api.cc:1257 GATT_Register: Allocated name:GattClient uuid:c1e917ce-06d0-44a8-9e2b-e71d5a3ce802 gatt_if:10 eatt_support:1
2023-10-23 06:42:45.113 26069-26069 AvrcpVolumeManager      pid-26069                            D  onAudioDevicesAdded: Not expecting device changed
2023-10-23 06:42:45.116  1668-6118  ActivityManager         system_server                        D  sync unfroze 4318 com.google.android.apps.youtube.music for 6
2023-10-23 06:42:45.117  1668-6118  Compatibil...geReporter system_server                        D  Compat change id reported: 261072174; UID 1002; state: ENABLED
2023-10-23 06:42:45.124  1229-4071  libexynosv4l2           sam...hardware.media.c2@1.0-service  E  failed to ioctl: VIDIOC_QBUF (22 - Invalid argument)
2023-10-23 06:42:45.124  1229-4071  ExynosVideoDecoder      sam...hardware.media.c2@1.0-service  E  MFC_Decoder_Enqueue_Inbuf: Failed to enqueue input buffer
2023-10-23 06:42:45.124  1229-4071  ExynosVide...ec-H264Dec sam...hardware.media.c2@1.0-service  E  [srcEnqueue] inbuf : ExtensionEnqueue() is failed / fd:22, ptr:0xb400006f6a3673c0, size:58321
2023-10-23 06:42:45.124  1229-4071  ExynosVide...ec-H264Dec sam...hardware.media.c2@1.0-service  E  [doInputEnqueue] srcEnqueue() is failed
2023-10-23 06:42:45.124  1229-4055  ExynosC2H2...cComponent sam...hardware.media.c2@1.0-service  W  [onUpdateC2Work] input is corrupted
2023-10-23 06:42:45.137  1668-6118  Compatibil...geReporter system_server                        D  Compat change id reported: 135634846; UID 10190; state: DISABLED
2023-10-23 06:42:45.137  1668-6118  Compatibil...geReporter system_server                        D  Compat change id reported: 177438394; UID 10190; state: DISABLED
2023-10-23 06:42:45.137  1668-6118  Compatibil...geReporter system_server                        D  Compat change id reported: 135772972; UID 10190; state: DISABLED
2023-10-23 06:42:45.137  1668-6118  Compatibil...geReporter system_server                        D  Compat change id reported: 135754954; UID 10190; state: ENABLED
2023-10-23 06:42:45.138  1668-1949  Compatibil...geReporter system_server                        D  Compat change id reported: 143937733; UID 10190; state: ENABLED
2023-10-23 06:42:45.139  3797-3797  fbvx                    com....android.googlequicksearchbox  I  Creating Amp configuration from performer module
2023-10-23 06:42:45.141  1668-6118  ActivityManager         system_server                        D  sync unfroze 4413 app.rvx.android.youtube for 6
2023-10-23 06:42:45.146  3797-3797  evva                    com....android.googlequicksearchbox  I  (REDACTED) Media session with identifier: %s, MediaSession: %s
2023-10-23 06:42:45.146  3797-3797  fbsi                    com....android.googlequicksearchbox  I  onCreate()
2023-10-23 06:42:45.146  3797-3797  fbsi                    com....android.googlequicksearchbox  I  News media session token retrieved
2023-10-23 06:42:45.151  1181-1181  Zygote                  pid-1181                             D  Forked child process 26150
2023-10-23 06:42:45.151  1668-3638  ActivityManager         system_server                        D  sync unfroze 4431 com.aimp.player for 6
2023-10-23 06:42:45.153  1668-1949  ActivityManager         system_server                        I  Start proc 26150:com.google.android.youtube/u0a190 for service {com.google.android.youtube/com.google.android.apps.youtube.app.extensions.mediabrowser.impl.MainAppMediaBrowserService}
2023-10-23 06:42:45.156  1668-6118  Compatibil...geReporter system_server                        D  Compat change id reported: 135634846; UID 10294; state: DISABLED
2023-10-23 06:42:45.156  1668-6118  Compatibil...geReporter system_server                        D  Compat change id reported: 177438394; UID 10294; state: DISABLED
2023-10-23 06:42:45.156  1668-6118  Compatibil...geReporter system_server                        D  Compat change id reported: 135772972; UID 10294; state: DISABLED
2023-10-23 06:42:45.157  1668-6118  Compatibil...geReporter system_server                        D  Compat change id reported: 135754954; UID 10294; state: ENABLED
2023-10-23 06:42:45.157  1668-1949  Compatibil...geReporter system_server                        D  Compat change id reported: 143937733; UID 10294; state: ENABLED
2023-10-23 06:42:45.158 26150-26150 android.youtube         pid-26150                            I  Using CollectorTypeCC GC.
2023-10-23 06:42:45.159  1668-3864  MediaSessionStack       system_server                        I  addSession to bottom of stack | record: com.aimp.player/AIMP (userId=0)
2023-10-23 06:42:45.161 26150-26150 android.youtube         pid-26150                            E  Not starting debugger since process cannot load the jdwp agent.
2023-10-23 06:42:45.163  1668-6243  Compatibil...geReporter system_server                        D  Compat change id reported: 135634846; UID 10297; state: DISABLED
2023-10-23 06:42:45.163  1668-6243  Compatibil...geReporter system_server                        D  Compat change id reported: 177438394; UID 10297; state: DISABLED
2023-10-23 06:42:45.163  1668-6243  Compatibil...geReporter system_server                        D  Compat change id reported: 135772972; UID 10297; state: DISABLED
2023-10-23 06:42:45.163  1668-6243  Compatibil...geReporter system_server                        D  Compat change id reported: 135754954; UID 10297; state: ENABLED
2023-10-23 06:42:45.168  1668-3864  ActivityManager         system_server                        D  sync unfroze 4493 com.vanced.android.apps.youtube.music for 6
2023-10-23 06:42:45.171  1181-1181  Zygote                  pid-1181                             D  Forked child process 26163
2023-10-23 06:42:45.171  1668-1949  ActivityManager         system_server                        I  Start proc 26163:com.noxplay.noxplayer/u0a294 for service {com.noxplay.noxplayer/com.doublesymmetry.trackplayer.service.MusicService}
2023-10-23 06:42:45.171  1668-1949  Compatibil...geReporter system_server                        D  Compat change id reported: 143937733; UID 10297; state: ENABLED
2023-10-23 06:42:45.171 26069-26069 HeadsetPhoneState       pid-26069                            D  sendDeviceStateChanged. mService=0 mSignal=0 mRoam=0 mBatteryCharge=5

we need to somehow detect BrowsedPlayerWrapper in onCreate/onStartCommand (onStartCommand doesnt catch anything though?) and catch it in an if to stop activity wake being called. too bad RN has to deal with this:(

lovegaoshi commented 1 year ago

suspecting this is android 14 behavior cuz S21 doesnt show anything related to BrowsedPlayerWrapper? probably best to consult google/stackoverflow now

lovegaoshi commented 1 year ago

On a second thought I should have put the wake activity code inside onbind instead of oncreate... Intent filtering will happen there

lovegaoshi commented 1 year ago

closed by https://github.com/lovegaoshi/react-native-track-player/commit/a07cd8b60a5556895028406abde31ff7708b3fcc