I have created a Firebase dynamic link, ex:
dynamic link: https://my.dynamic.link
deep link: https://my.deep.link
When someone visits that dynamic link it will either open my app if it's installed or open Google Play to install my app.
I'm not creating dynamic links using the android app, but I need to add parameters to that same dynamic link, ex:
https://my.dynamic.link/?p1=a&p2=b
https://my.dynamic.link/?p3=c
https://my.dynamic.link/?p5=e&p6=f
Now what I want is to retrieve the full dynamic link (not the deep link) within my android application. Firebase docs gives a proper way to retrieve the deep link. That's not what I want.
FirebaseDynamicLinks.getInstance()
.getDynamicLink(getIntent())
.addOnSuccessListener(this, new OnSuccessListener<PendingDynamicLinkData>() {
@Override
public void onSuccess(PendingDynamicLinkData pendingDynamicLinkData) {
if (pendingDynamicLinkData != null) {
pendingDynamicLinkData.getLink(); // --> https://my.deep.link
/*
what I want is the dynamic link with parameters
https://my.dynamic.link/?p1=a&p2=b
*/
}
}
}
);
Is there a way to achieve this?