[AppLauncherPlugin] AppLauncherPlugin Demo for OS11

Forge Component
(6)
Published on 7 May (4 weeks ago) by Armando Gomes
6 votes
Published on 7 May (4 weeks ago) by Armando Gomes

Hi,

I am trying to use this plugin to launch an app with this intent, for another app:

<intent-filter>

  <data android:scheme="testoapp+com.enel.mobile.xInstaller.dev" />

  <action android:name="android.intent.action.VIEW" />

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

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

</intent-filter>

, but without success. I've tried to use the CanLaunch but I don't really know how to write the intent filter as JSON. I've tried it in this format, but without success:

"{""uri"":""testo330://start?userinfo=parameter&bundleid=com.enel.mobile.xInstaller.dev"",
""action"":{""name"":""android.intent.action.VIEW""},
""data"":{""scheme"":"testoapp+com.enel.mobile.xInstaller.dev",
""categories"":[{""name"":""android.intent.category.DEFAULT""},
{""name"":""android.intent.category.BROWSABLE""}]}"

I've tried to use also the CanLaunchWithData actions, but the structure does not have the attributes for

categories, actions and data.

Could you please provide an example on how to use this plugin, for a case that is similar to mine (with category, action and data in the intent-filter), or, at least an example on how to write the intent-filter in JSON format?

Is this possible also for IOS devices? Do you have an example on hoe to do this for IOS?


Thanks,

Vlad Man