android - Firebase Dynamic Links not working - DFL parameter -
i have searched , web similar issue, , while others appear have encountered problem, solutions not working me.
dfl parameter in firebase dynamic links builder
starting android, i'm attempting implement dynamic links app. app requires additional parameters on dynamic link, i'm manually constructing link based on information here: https://firebase.google.com/docs/dynamic-links/create-manually.
i have created link in following manner (code abbreviated purposes of post)
uri.builder builder = new uri.builder() .scheme("https") .authority(appprivate.invitation.app_code + ".app.goo.gl") .path("/") .appendqueryparameter("link", link) .appendqueryparameter("apn", appprivate.package) .appendqueryparameter("dfl", desktoplink);
for use case link
, desktoplink
parameters same - actual working urls on website. regardless of device user hits dynamic link, should perform desired action. again, purposes of getting working, i've linked our primary website (https://www.mytravelerapp.com).
when send invitation android device, generate intent based on code sample here: https://github.com/firebase/quickstart-android/blob/master/invites/app/src/main/java/com/google/firebase/quickstart/invites/mainactivity.java
return new appinviteinvitation.intentbuilder(context.getstring(r.string.content_trip_invitation_title)) .setmessage(message) .setdeeplink(uri) .setcustomimage(uri.parse(appprivate.invitation.trip_invite_deep_link_image)) .setcalltoactiontext(context.getstring(r.string.content_trip_invitation_cta)) .build();
however, when receive invitation via email on desktop, goes play store listing, no matter i've added initial deep link (dfl, afl). here's sample of link "call action" button email:
https://a3d4u.app.goo.gl/i/225742434763-3bd2c2fa-45f0-4ed8-aca3-37760d27d971
i've not yet implemented receivers in android app listen incoming links, cannot confirm whether or not deep link behaves appropriately on platform.
any recommendations or suggestions on i'm missing desktop link appreciated.
thanks!
you're wrapping dynamic link in dynamic link. invites generates dynamic link, doesn't have dfl parameter, redirecting store.
you try shortening dynamic link generate, , sharing via regular share dialog rather using invites.
Comments
Post a Comment