deep linking - Android intent filter with pathPattern matches in assistant but not work -
i'm trying make 1 app link open our app instead browser.
the app links assistant tells me pattern works fine when try on emulator or physical device doesn't work :(
filter:
<activity android:name=".activities.applinksactivity"> <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="http" android:host="www.emagister.com" android:pathpattern="/.*-cursos-.*.htm" /> </intent-filter> </activity>
url match: http://www.emagister.com/curso-avanzado-lenguaje-programacion-javascript-cursos-2863146.htm
assistant message:
but when open on device or click run test doesn't work , opens browser.
if put android:pathpattern="/juridico-master-compliance-officer-controller-juridico-empresarial-cursos-3299291.htm" in manifest instead above pathpattern works perfect.
what i'm doing wrong?
thanks in advance!!
your pathpattern
regex seems unnecessarily complex; don't believe it's documented regex parser used here, wouldn't surprised if it's somehow choking on this.
try simplifying as possible , add elements (but few possible). suspect pathpattern='.*cursos.*'
still same thing.
Comments
Post a Comment