NetworkPro icon indicating copy to clipboard operation
NetworkPro copied to clipboard

Hi,

Open zeeshanrasool91 opened this issue 7 years ago • 1 comments

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

zeeshanrasool91 avatar Jan 29 '18 15:01 zeeshanrasool91

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.

perusudroid avatar Mar 05 '18 17:03 perusudroid