I am using the below code
FirebaseDynamicLinks.getInstance()
.getDynamicLink(getIntent())
.addOnSuccessListener(this, new OnSuccessListener<PendingDynamicLinkData>() {
@Override
public void onSuccess(PendingDynamicLinkData pendingDynamicLinkData) {
...
}
})
.addOnFailureListener(this, new OnFailureListener() {
@Override
public void onFailure(@NonNull Exception e) {
}
});
I some devices, when I dont launch threw a deeplink, onSuccess is called with pendingDynamicLinkData == null, which is fine but on some devices, both onSuccess and onFailure not getting called at all. How to fix this?
from Firebase dynamiclink onSuccess nor onFailure getting called
No comments:
Post a Comment