I have the following code for receiving the dynamic links and it works. According to Firebase, we only get to receive the link once. What if I want the link, even when clicked multiple times, to open the activity?
Is there any way to achieve this?
FirebaseDynamicLinks.getInstance()
.getDynamicLink(getIntent())
.addOnSuccessListener(this, new OnSuccessListener<PendingDynamicLinkData>() {
@Override
public void onSuccess(PendingDynamicLinkData pendingDynamicLinkData) {
// Get deep link from result (may be null if no link is found)
if (pendingDynamicLinkData == null) {
//do something
} else {
//do something
}
}
})
.addOnFailureListener(this, new OnFailureListener() {
@Override
public void onFailure(@NonNull Exception e) {
//do something
}
});