0

As we know when we are installing app like WhatsApp , Facebook etc. from play store then it automatically listed in a list of autostart application on boot.

As shown in below screenshot we can see how these application are listed in autostart application which automatically turned on after installing.

enter image description here

So my question is how can I list my app in the auto-launch apps list. After installing my app, its showing in list but its not enabled. But I want that after installing it should automatically enable.

I know there is a way to achieve this. Please help I didn't found any articles about this.

Kaunain
  • 168
  • 3
  • 16

1 Answers1

0

From my understanding, this can't be achieved by every app. The apps you see, which are automatically auto-launching after installation are white-listed by manufacturers or Google themselves. All you can do is send the user to the specific settings to enable the auto-launch after installing the app. This is also described here:

Add my app to AutoStart apps list in android programmatically

Noltibus
  • 1,300
  • 3
  • 12
  • 34
  • But we can make whitelisted app . What if we are making any commercial in a company.. – Kaunain Mar 17 '22 at 09:55
  • Many other apps having features of auto launching telegram itself having this feature. I think there is a way but many of us dont know @Noltibus – Kaunain Mar 17 '22 at 09:56
  • 1
    This white-listing needs to be done by the phone manufacturer, there is no way of auto launching an app without any user interaction first if you are not specifically white-listed by the manufacturer of every phone there is (afaik) – Noltibus Mar 17 '22 at 09:58
  • You mean if we want to auto launch our app then we have to do tell the manufacturer for enabling whitelisting of this app? @Noltibus – Kaunain Mar 17 '22 at 10:01
  • 2
    Yes, but a way better way would be to just depend on the user to open the app once after installing and then tell the user to go to the settings of his phone to enable auto-launching your app. You can even send the user to the correct place in his settings, which is shown in the SO link I posted in my answer. – Noltibus Mar 17 '22 at 10:03
  • Thanks @Noltibus I understood . – Kaunain Mar 17 '22 at 18:04