Can I hide the APP icon on the main screen (Cordova - AngularApp)

I have a requirement: There are two applications APP "A" and APP "B". Here, APP B should be opened by any event triggered by APP A. For this, I need to install both applications on the device and work fine. Here I want to restrict APP B from opening directly (with APP Launchpad / Home Screen) so that it only opens with APP A. APP B is a hybrid APP built using Cordova.

Could you offer any possibility of processing the script.

Thanks in advance!

0
source share
2 answers

, AndroidManifest.xml

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

, .

+1

cordova-custom-config - config.xml:

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

, , platforms/android cordova prepare .

platforms/android/AndroidManifest.xml, , .

, cordova-custom-config >= 3.0.0.

0

Source: https://habr.com/ru/post/1648806/


All Articles