don / BluetoothSerial

Cordova (PhoneGap) Plugin for Serial Communication over Bluetooth
Other
1.07k stars 670 forks source link

bluetoothSerial.setDiscoverable max time #433

Open carlocarlini opened 4 years ago

carlocarlini commented 4 years ago

When i set bluetoothSerial.setDiscoverable(0) to have unlimited time i get a system alert asking me if i want to authorize to have the device discoverable for 120 sec. What's the way to have this for unlimited time? or what's the way to avoid the alert?