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

Add autostart? #1

Open
IanWorthington opened this issue Apr 1, 2021 · 1 comment
Open

Add autostart? #1

IanWorthington opened this issue Apr 1, 2021 · 1 comment

Comments

@IanWorthington
Copy link

I'm looking at your project to see if it can replace the unreliable WorkManager/AlarmManager for me.

One of the things I need is that my foreground service will be started automatically on a device reboot, or if the foreground service is stopped for any reason other than explicit user command.

I'm afraid I have have no idea where to start with these. Roberto has some suggestions in a similar project he wrote up at https://robertohuertas.com/2019/06/29/android_foreground_services/ (at "Bonus" and "Bonus 2" but his code seems totally different to your own.

How might I go about adding that functionally to your project?

@easazade
Copy link
Owner

easazade commented Apr 2, 2021

this seems like something we can work on to add to this plugin. by the way feel free to make a pull request if you have any knowledge of native android

@easazade easazade added duplicate This issue or pull request already exists enhancement New feature or request request and removed duplicate This issue or pull request already exists labels Apr 2, 2021
@easazade easazade added Feature Request and removed enhancement New feature or request request labels Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants