-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Labels
Description
Describe the bug
When create short link in iOS release its create too long link like this :
https://bnc.lt/a/key_live_MY_LIVE_KEY?channel=facebook&feature=sharing&stage=new%20share&source=ios&data=eyIkbG9jYWxseV9pbmRleGFibGUiOnRydWUsIiRvZ19kZXNjcmlwdGlvbiI6IkZsdXR0ZXIgQnJhbmNoIERlc2NyaXB0aW9uIiwiJGtleXdvcmRzIjpbIlBsdWdpbiIsIkJyYW5jaCIsIkZsdXR0ZXIiXSwiJG9nX3RpdGxlIjoiRmx1dHRlciBCcmFuY2ggUGx1Z2luIiwiJGNhbm9uaWNhbF9pZGVudGlmaWVyIjoiZmx1dHRlciIsIiRwdWJsaWNseV9pbmRleGFibGUiOnRydWV9
its works good in debug and in android
my code :
` final article = context.read().article;
BranchUniversalObject buo = BranchUniversalObject(
canonicalIdentifier: 'dpc/branch',
title: article?.title ?? '',
contentDescription: S.of(context).viewThisArticleOnDpcApp,
publiclyIndex: true,
locallyIndex: true,
contentMetadata: BranchContentMetaData()
..addCustomMetadata('articleId', article?.id.toString())
..addCustomMetadata('isFree', article?.isFree),
);
BranchLinkProperties lp = BranchLinkProperties(
channel: 'app',
feature: 'sharing',
stage: 'new user',
tags: article?.tags.map((tag) => tag.title).toList() ?? [],
);
BranchResponse response = await FlutterBranchSdk.getShortUrl(
buo: buo,
linkProperties: lp,
);
SharePlus.instance.share(ShareParams(uri: Uri.parse(response.result)));`
Steps to reproduce
Expected behavior
The link created shortly
SDK Version
last one
XCode Version
16.1
Device
iPhone 15 pro
OS
last one
Additional Information/Context
No response