I've read and followed all the tutorials but still having trouble with deep link:
Here are the entries in my AndroidManifest.xml:
MainActivity:
<activity
android:name=".controller.MainActivity_"
android:label="@string/app_name"
android:launchMode="singleTask"
android:excludeFromRecents="true"
android:screenOrientation="portrait"
android:theme="@style/SplashTheme">
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
DeepLink Activity:
<activity android:name=".controller.AppLinkDispatcherActivity_">
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="https"/>
<data android:scheme="http"/>
<data android:host="staging.trafficcarma.com"/>
<data android:pathPrefix="/incidents"/>
</intent-filter>
</activity>
The MainActivity is always launched with android.intent.action.MAIN.
I've added:
uAirship.getActionRegistry().unregisterAction(DeepLinkAction.DEFAULT_REGISTRY_NAME);
uAirship.getActionRegistry().unregisterAction(DeepLinkAction.DEFAULT_REGISTRY_SHORT_NAME);
Is there certain sdk configurations that need to be done to get this to work ?
Deep linking from text or email link works fine!!! Not from UA Deep Link!
Thanks for any help,
Gary
Comments
1 comment