I working with Firbase dynamicLinks in my App and I have link that open my app.
I want to add dynamic parameter that change everytime for example -
My link:
https://mydomain.co.il/stepB? (working)
https://mydomain.co.il/stepB?userid=1212 (userid supposed to be change per relevant userid)
I trying just to add ?userid=1212 in this is working on IOS but in Android this is not working.
Please help.
Related
In Firebase, I've always been able to generate Service Account JSON. Today, created a new project as always and could not find it. When I refresh the button does show briefly and disappear. I don't understand what is the problem and the documentation for generating an Admin SDK still says that you create a Service Account JSON with that button. You can see in the image below:
Can I have an explanation on why it is happening and how can I solve this?
I'm trying to capture the query paramters of a dynamic link.
In firebase console, the dynamic link is set as
myApp.page.link/myPage?par1=1,par2=2
The link that I build programmatically is:
http://myapp.page.link/myPage?st= Hi there &amv=0&apn=com.myapp&ibi=com.myapp&imv=0&link=https://myapp.page.link/myPage?par1=123&par=456
When I capture the link in the app, using FirebaseDynamicLinks.instance.onLink, I get
myApp.page.link/myPage?par1=1,par2=2
instead on the expected parameters par1=123, par2=456.
Flutter doctor has no errors
What can it be?
It looks like it might have been the fact that although I was using a device as an "emulator" in a debug mode.
Once using the "real" app from google store, the problem was gone :-)
We are using hybrid platform - kony for mobile application(android and IOS).
I have configured dynamic links in firebase dynamic links section. When we add the links directly in our email buttons as href tag and if user clicks that link in gmail from mobile browser it's working without any issues in both android and ios. Received dynamic link URL in mobile app and able to navigate user to particular screen based on URL params.
But for tracking purpose(Analytics), on click of that email button we are redirecting the user to our vendor website from there it is getting redirected to firebase dynamic URL. By doing in this way, IOS is working as expected, user is taken to particular screen.
But android has issues. App is opened in normal mode instead of deeplink mode. dynamic link is missing. So we couldn't navigate user to that particular screen.
I have added valid SHA-1 and SHA-256 release keys as well in my firebase project.
I have valid assetlinks.json file for the domain which i created. It's a custom domain with xxx.page.link(below one for reference).
URL which is used in href tag: http://t.XXX.com/click_stats/?ID=xxxx&ContactID=xxxxx&Tracking=98c68752ea4f4af1ab9922178ff608c1&StepId=128262
Firebase Deeplink URL: https://xxx.page.link/frmOffers
So 1st link will be added in email buttons href tags- when user clicks 1st link,we will capture analytics and redirect to 1st link. Android app is opening but not in deeplink mode. Link url params are missing.
Please check and help. If IOS is working why android is not working.
[{"relation":["delegate_permission/common.handle_all_urls"],"target":{"namespace":"android_app","package_name":"com.xxx.xxx","sha256_cert_fingerprints":"xxxx"}}]
you need to write an Kony FFI for this we handled this kind of use case recently and solved via FFI.
Firebase Dynamic Links do not survive on iOS 11.3.1 when user don't have installed. Anyone else experiencing this issue? This works fine prior to iOS 11.3.1
Repro steps::
Click on FDL link
User redirected to app store
User install app
User open app
FDL params not passed
- (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
annotation:(id)annotation {
//the url here returns:
//google/link/?match_type=none&match_message=No pre-install link matched for this device.
or
//google/link/?dismiss=1&is_weak_match=1
}
I've reported this to Firebase and they're still working on the fix.
https://github.com/firebase/firebase-ios-sdk/issues/1244
In the meantime, the workaround is to turn off the forcedRedirectEnabled.
FIRDynamicLinkNavigationInfoParameters *navigationParams = [FIRDynamicLinkNavigationInfoParameters parameters];
navigationParams.forcedRedirectEnabled = NO;
components.navigationInfoParameters = navigationParams;
or if you use the admin console to generate the link, you need to leave the Skip the app preview page setting unchecked.
Note that this means users will see one interstitial page before it redirect to app store, which is not ideal but at least FDL params will be passed.
Hope this helps someone.
Cheers!
I had the same issue.
And I found that when I delete FirebaseDeepLinkPasteboardRetrievalEnabled in Info.plist the problem is resolved
https://firebase.google.com/docs/dynamic-links/ios/receive
Optional: Disable the Dynamic Links SDK's use of the iOS pasteboard.
By default, the Dynamic Links SDK uses the pasteboard to improve the
reliablity of post-install deep links. By using the pasteboard,
Dynamic Links can make sure that when a user opens a Dynamic Link but
needs to install your app first, the user can go immediately to the
original linked content when opening the app for the first time after
installation.
The downside of this is that use of the pasteboard triggers a
notification on iOS 14 and later. So, the first time users open your
app, if the pasteboard contains a URL, they will see a notification
that your app accessed the pasteboard, which can cause confusion.
To disable this behavior, edit your Xcode project's Info.plist file
and set the FirebaseDeepLinkPasteboardRetrievalEnabled key to NO.
Does Firebase Invitie Dynamic Links / Referal Links work for Google Play Store Beta Apps and/or for iOS Testflight Apps?
Our game app is currently in Beta and we're about to add a referal system.
Firebase Invites is powered by the same backend as Firebase Dynamic Links, but there are differences. Most relevant here: Firebase Invites do not supports most link behavior parameters that Firebase Dynamic Links do.
Below information about Firebase Dynamic Links.
Firebase Dynamic Links on iOS will function when App is in TestFlight. Keep in mind:
1) User who tap on the link must have access to your iOS Beta App in TestFlight. I believe, to make this happens you need to invite user to TestFlight first.
2) You can specify "ifl"/"afl" parameter during dynamic link creation. See https://firebase.google.com/docs/dynamic-links/create-manually . If this parameter is specified, the user will be navigated to your custom link, not AppleStore/PlayStore.
One of the parameters when creating a Firebase Dynamic link is a Fallback Url. Reference Android and iOS:
If you are using Test Flight, you can now send a public link to users to invite them to install your app.
In App Store Connect, open your app > click on the TestFlight menu at the top > select your test group to the left > Click "Enable Public Link".
Copy your link and add it to the fallback url parameter of the iOS parameters builder when generating your Firebase Dynamic Link.