Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, #1

Open
zeeshanrasool91 opened this issue Jan 29, 2018 · 1 comment
Open

Hi, #1

zeeshanrasool91 opened this issue Jan 29, 2018 · 1 comment

Comments

@zeeshanrasool91
Copy link

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

@perusudroid
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants