flutter_branch_sdk
flutter_branch_sdk copied to clipboard
Android non branch deep link sometimes not available
Describe the bug When I try to open the app with the non-branch deep link, non_branch_link field sometimes doesn't provide the url I've clicked on.
To Reproduce Steps to reproduce the behavior:
- I've clicked on the link with the custom domain: dev-app.operi.rs/home/orders
- Branch SDK logged this D/FlutterBranchSDK( 3719): BranchReferralInitListener - params: {"+non_branch_link":"dev-operi-app://open?link_click_id=1304070486333205728","+clicked_branch_link":false,"+is_first_session":false}
- listSession method returned this value in the callback
Expected behavior I've expected to get non_branch_link = dev-app.operi.rs/home/orders
Smartphone (Please complete the following information. remove session if not platform):
-
Flutter: version: 3.19.2
-
Package version: 7.3.0
-
OS: Android 14
-
Device: Samsung Galaxy S21 FE
-
Additional context
In some periods of the day - the expect behavior is happening, but mostly it returns dev-operi-app://open?link_click_id=XXX. Also, on Xiaomi I've never received this type of the response - it's always the original link.
Hi @vasa137 .
This package calls Branch Native SDK functions on each platform.
The problem reported is not in the Flutter plugin, but in the Native SDK.
Please open an issue in the platform repository:
- iOS: https://github.com/BranchMetrics/ios-branch-deep-linking-attribution
- Android: https://github.com/BranchMetrics/android-branch-deep-linking-attribution
Or open a support ticket for Branch at the link
@RodrigoSMarques i am also having same issue, it is returning open?link_click_id=1304070486333205728. instead of returning non branch uri
How we can handle this?
I think the only option is to Generate the link on the Branch portal - since nonBranch links which are using the same domain you registered on Branch Portal will return this thing....
I reached support - but no luck.
I think the only option is to Generate the link on the Branch portal - since nonBranch links which are using the same domain you registered on Branch Portal will return this thing....
I reached support - but no luck.
But i believe it was working fine it is weird. If they are not going to show non branch links, why is there such a parameter...
I believe I have identified the problem. I'm already working on the next version. It will be made available in the next few days.
@RodrigoSMarques any update ?
@RodrigoSMarques any update ?
Reviewing the documentation, as there will be changes to the init
method and the way to activate the test key. It will no longer be possible to configure via code.
@kalismeras61 @vasa137
Version 8.0.0 released.
Take the tests and report the results.
Looks like it's solved in version 8.0.1 - I will monitor it a little bit more - since it was working from time to time before - looks promising until now.