Autostart App on Device Boot


#1

I want to make my app start after device boot. It would be nice if there would be a solution for Android and IOS, but I’m fine with a solution for android. I’m using NativeScript with Angular.
Can please somone help me?


#2

Google is your friend - https://stackoverflow.com/a/6392009/6408287

It’s not a good idea to put a screen in front of the user if they didn’t ask for it, though - don’t abuse it if it can be avoided.


#3

I found another way. The following plugin seems to work
https://www.npmjs.com/package/nativescript-bootreceiver

But thanks for your reply.

I’m creating an app for a product scanner station, so it’s okay to autostart the app :slight_smile: