Skip to content Skip to sidebar Skip to footer

Is It Possible To Hide The App Icon On Home Screen (cordova - Angularapp)

I have a requirement as: There are two Apps APP 'A' and APP 'B'. Here, APP B should open by any event triggered from APP A. For doing the same, I need to install both the apps on t

Solution 1:

If you want to remove an app from default launcher then remove the following line in AndroidManifest.xml file

<categoryandroid:name="android.intent.category.LAUNCHER"/>

Hope this helps.

Solution 2:

With cordova-custom-config, you should be able to add something like this to your config.xml:

<preference name="android-manifest/application/activity[@android:name='MainActivity']/intent-filter"delete="true" />

You will probably have to delete platforms/android and run cordova prepare after making any changes.

Check the platforms/android/AndroidManifest.xml to see if it has worked.

Make sure you have cordova-custom-config >= 3.0.0.

Solution 3:

If you want to remove launcher then replace this in AndroidManifest.xml file

category android:name="android.intent.category.LAUNCHER"

replace to :

category android:name="android.intent.category.DEFAULT"

Post a Comment for "Is It Possible To Hide The App Icon On Home Screen (cordova - Angularapp)"