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

Expose actions to enable/disable PackageReplacedReceiver #23

Open
alalamav opened this issue Feb 15, 2018 · 3 comments
Open

Expose actions to enable/disable PackageReplacedReceiver #23

alalamav opened this issue Feb 15, 2018 · 3 comments

Comments

@alalamav
Copy link
Contributor

Currently, PackageReplacedReceiver is enabled by default. It will start the app or service when enable or enableService have been called.

It would be useful to have the ability to enable and disable PackageReplacedReceiver independently of BootCompletedReceiver.

@ToniKorin
Copy link
Owner

And please could you describe a use case of the real life for it?

@alalamav
Copy link
Contributor Author

I can imagine an app that wants to restart only when updated and not on boot. For example, to mitigate the user experience of getting updated while in the foreground.

@ToniKorin
Copy link
Owner

Okay, feel free to implement, test and update the documentation. Please add it as optional parameter to the current javascript methods, so that without the new parameter the functions remains the same.

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