Closed mtalha101 closed 10 months ago
Based on the tests I carried out (including in a native Swift project to ensure that the problem was not in the Flutter plugin), the problem does not occur when using the $android_url
and $ios_url
parameters, but when combining the alias
parameter.
If you remove the alias
, a short link is generated.
This package calls Branch Native SDK functions on each platform.
The problem reported is not in the Flutter package, but in the Native SDK.
Please open an issue in the platform repository:
Thank you so much Sir! I will open an issue for iOS Native SDK
Describe the bug When I add custom parameters to link properties while generating a short link, I receive a very large link like:
https://app.evershop.ai/a/key_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?%24randomized_bundle_token=1253323032068742588&tags=influencer&alias=u/testuser7140&channel=influencer&feature=influencer&source=ios&data=eyIkbG9jYWxseV9pbmRleGFibGUiOnRydWUsIiRvZ190aXRsZSI6IkV2ZXJTaG9wIEluZmx1ZW5jZXIiLCIka2V5d29yZHMiOlsiaW5mbHVlbmNlciJdLCIkcHVibGljbHlfaW5kZXhhYmxlIjp0cnVlLCIkY2Fub25pY2FsX3VybCI6Imh0dHBzOi8vd2ViLmV2ZXJzaG9wLmFpL3UvdGVzdHVzZXI3MTQwIiwiJGNhbm9uaWNhbF9pZGVudGlmaWVyIjoiZXZlcnNob3AvaW5mbHVlbmNlciJ9
. This started happening when I added custom params i.e.$android_url
and$ios_url
, to redirect the user to webpage if the app is not installedTo Reproduce This is my link generating code:
Expected behavior The sdk should generate a link like
https://app.evershop.ai/u/testuser7140
which should be redirected to webapgehttps://web.evershop.ai/u/testuser7140
if the app is not installed.Smartphone:
Web: