-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Labels
Description
Describe the bug
So, when I call this getShortUrl, it does not return anything and also does not throw any error. I have added the same comment on this issue. Please help me close this issue.
Steps to reproduce
// 1. Create a BranchUniversalObject
BranchUniversalObject buo = BranchUniversalObject(
canonicalIdentifier: 'referral/$referralCode',
title: 'Join LP Screw',
contentDescription: 'Use this link to sign up and earn your bonus. Start your loyalty journey with LP Screw today.',
contentMetadata: BranchContentMetaData()..addCustomMetadata('referral_code', referralCode),
);
// 2. Define link properties
BranchLinkProperties lp = BranchLinkProperties(
channel: 'app',
feature: 'referral',
campaign: 'user-invite',
stage: 'new user',
);
// 3. Generate the short URL
BranchResponse response = await FlutterBranchSdk.getShortUrl(buo: buo, linkProperties: lp);
Expected behavior
It must return a short URL.
SDK Version
5.18.0
Make and Model
SM-M055F
OS
14
Additional Information/Context
No response
HiroyukiTamura