Android deep linking doesn't work in chrome

IdoTeneIdoTene USMember, University ✭✭
edited April 2015 in Xamarin.Android

I'm trying to add deep linking, and I followed Google official guide and Xamarin Official Guide.

I managed to open my activity from adb as shown in Google example, yet when I type manually the address from chrome it doesn't open.

This is the decode activity part from AndroidManifest.xml:

<activity android:configChanges="orientation|screenSize" android:name="consumer.mobile.droid.MainActivity" android:theme="@style/Theme.MainBackground">
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
                <data android:host="example.com" android:pathPrefix="/" android:scheme="http"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
                <data android:host="example.com" android:scheme="http"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
                <data android:host="products" android:scheme="example"/>
            </intent-filter>
        </activity>
Tagged:

Answers

Sign In or Register to comment.