Open zeeshanrasool91 opened 6 years ago
I haven't done testing with Oreo devices. When i was testing with multiple devices, some devices like Redmi hit the onReceive() in broadcastReceivers multiple times. I tried to figure out a solution and ended with the 'isDefault' which was the originally generated for this purpose. You can print the intent bundle in the onReceive() method for more information.
i was using your libray for Oreo, i cannot hit your broadcast receivers. when i modified your main activity intentFilter = new IntentFilter(); intentFilter.addAction(CONNECTIVITY_ACTION); by adding this code it worked, but can you define what is isDefault check in onRecieve its value is always false