HeadsetDetection-PhoneGap-Plugin
HeadsetDetection-PhoneGap-Plugin copied to clipboard
registerRemoteEvents only fires when I register it
Unfortunately the registerRemoteEvents only fires when I register it, and it always returns "headsetRemoved" (even if the BT headset is already connected). When I connect/disconnect a BT headset, the event won't fire. The HeadsetDetection.detect function works well though.
(Android 10, Huawei P30 Pro)