onreceive() not working with Android O

Viewed 537

I am testing on Android O phone. I have a Broadcast receiver registred to receive the Bluetooth status change event. I have added this inside my code as

context.registerReceiver(receiver , BluetoothAdapter.ACTION_STATE_CHANGED)

When i test, the callback do not come to onreceive(). I have read that Android O do not support implicit broadcast. I am not sure why onreceive() is not fired. Is Bluetooth Action state change intent having issues with Android O ?

1 Answers
Related