android - Firebase dynamic links with Facebook app -
i'm trying use firebase dynamic links (deep links). core of application should share link on social media.
i've created short link (200 ok) shared link both g+ , facebook. there problem
- mobile browser -> deep link -> successful redirect
- g+ app -> deep link -> successful redirect
- facebook app -> deep link (not installed app) -> install -> continue -> success
- facebook app -> deep link (installed app) -> opens playstore app app displayed instead of running app
i'm using http scheme suggested on android developers site:
<activity android:name=".linkactivity"> <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:scheme="http" android:host="..."/> </intent-filter> </activity>
so how can use firebase dynamic link facebook app?
facebook uses app links tags launching other apps (and on android — it's been broken on ios year). firebase not automatically host app links tags dynamic links, expected default behavior on android.
there no way manually specify these tags in firebase, you'll need host them on fallback url, firebase scrape , pass through. alternatively, can take @ branch.io (full disclosure: i'm on branch team), hosts app link tags default.
Comments
Post a Comment