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

ideas to make a service to continue receiving push notifications #92

Open
paredesivan opened this issue Dec 20, 2017 · 2 comments
Open

Comments

@paredesivan
Copy link

Hi. I have an application to which push notifications arrive, but when I put in force to close or restart the cell phone, they stop coming, I had planned to add a service so that push notifications always arrive. I consult if the plugin could work and more or less as the steps or ideas to follow to do it.

@Red-Folder
Copy link
Owner

Have a look at Android Broadcast. You should be able to run code on device restart

@efkan
Copy link

efkan commented Dec 21, 2017

@paredesivan : Also notifications, broadcasts and background services have changed Android 8.0 (API 26) and later.

To discover changes you might check this out.

BootReceiver.java and else others' code might be needing update.

I try to implement changes to my code according to API 27. If I can manage it, I can make a PR.
However my code is huge. So, I can postpone this mission and continue with API 25 for a while.
(AVD is buggy on API 27 and Genymotion is on preview version without GPS, Wifi and etc. functionalities and unfortunate I don't have any real device on Android 8.0 Oreo)

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

3 participants