How to use Custom URL in embedded integration

It requires:

  • adaptation of AndroidManifest.xml
  • adding function onNewIntent into the main activity

AndroidManifest.xml adaptation

  • add the following atribute to the main activity

  • add the following intent filter to the main activity

       <data android:scheme="com.sygic.aura"></data>
       <action android:name="android.intent.action.VIEW" ></action>
       <category android:name="android.intent.category.BROWSABLE" ></category>
       <category android:name="android.intent.category.DEFAULT" ></category>

Main activity code adaptation

protected void onNewIntent(Intent intent) {