Firebase Dynamic links always returned CANCELED
See original GitHub issueI’m using dynamic links for my app.
I’ve followed the tutorial step-by-step and I’m able to open the app by clicking on the link posted on facebook.
But when I invoke getInvitation, I always have CANCELED as status of AppInviteInvitationResult.
AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, this, false).setResultCallback(
new ResultCallback<AppInviteInvitationResult>() {
@Override
public void onResult(@NonNull AppInviteInvitationResult result) {
if (result.getStatus().isSuccess()) {
// Extract deep link from Intent
Intent intent = result.getInvitationIntent();
String deepLink = AppInviteReferral.getDeepLink(intent);
// [END_EXCLUDE]
} else {
Log.d("StartActivity", "getInvitation: no deep link found.");
}
}
});
Into debug, I can see that result.getStatus() returns CANCELED, but the click on lick open the app correctly.
Where I’m wrong?
Issue Analytics
- State:
- Created 7 years ago
- Comments:49 (12 by maintainers)
Top Results From Across the Web
Firebase Dynamic links always returned CANCELED
The status is canceled when no intent has been received. I was wondering the same thing and it turned out that my links...
Read more >Firebase Dynamic Links sometimes got error ... - GitHub
The network request cancellation is poorly documented, so it's not surprising that it's happening on any network quality. Does the error go away ......
Read more >PendingDynamicLinkData - Firebase - Google
The dynamic link returned during initial launch will not be available from FirebaseDynamicLinks#getDynamicLink(Intent) during the update re-launch.
Read more >Firebase + Flutter — Dynamic Links — Step By Step Guide
Dynamic Links are smart URLs that allow you to send existing and potential users to any location within your iOS or Android app....
Read more >How to Create Dynamic Links in Firebase and React Native
Yo! In this video, we'll learn how to setup dynamic linking in react native and create dynamic links on the fly and also...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue is still there I have firebase latest v 10.2.1. I have added SHA-1 & SHA-256 but this didn’t solve the issue.Also, other firebase products are working fine.
Same issue here. However I’m experiencing issue only with long dynamic links, like this:
https://ebn9r.app.goo.gl/?link=https://vpnshieldapp.com/?deeplink%3Dopen_sign_up&apn=com.vpnshieldapp.androidstandaloneclient
If I use short version, like
https://ebn9r.app.goo.gl/lzMA
- all works fine.