How to make flutter application a default home launcher in android

I want to make my flutter app default home launcher, i have added category Home and Default inside intent filter in AndroidManifest.xml.

Now i when i press home button in my android i am not getting popup to choose from default home launcher. How to get the popup where a user can choose to make it a default home launcher.

Following the artile on Make Your Own Custom Android Launcher using Flutter i have added the below code to my AndroidManifest.xml

<category android:name="android.intent.category.HOME" /> <category android:name="android.intent.category.DEFAULT" />

I am not getting any prompt/popup to use Launcher as home.

Please Help

Upvotes: 1

Views: 1603

Answers (1)

Shuja Rizvi
Shuja Rizvi

Reputation: 1

For anyone not being able to solve this, the issue could be related to OS settings.

I do not guarantee this solution, but it worked for me. Simple goto settings and choose default apps. Then choose your app for launcher as a default.

Upvotes: 0

Related Questions