AppsFlyer SDK generateInviteLink() API is not working. Either Success or Error callbacks not working (Not Getting called)
Describe the bug In Flutter AppFlyers SDK, I'm not able to receive the deep link that I'm creating. Because both error and success callback are not called.
To Reproduce In below code, the callback are not calling. But In console. The SDK is printing the deeplinking. I'm not able to receive the link because my provided callbacks are not calling.
AppsFlyerInviteLinkParams appsFlyerInviteLinkParams = AppsFlyerInviteLinkParams(
campaign: 'User-Invitation',
channel: 'Invitation',
baseDeepLink: 'https://name.oneclick.me',
referrerName: name,
customerID: userId,
customParams: {
'deep_link_value': userId,
});
appsflyerSdk.generateInviteLink(
appsFlyerInviteLinkParams,
(result) {
print('-------->' + result);
},
(error) {
print('-------->' + error);
},
);
👋 Hi @mateendev3 and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at [email protected]. When submitting the ticket, please specify:
- ✅ your AppsFlyer sign-up (account) email
- ✅ app ID
- ✅ production steps
- ✅ logs
- ✅ code snippets
- ✅ and any additional relevant information.
same issue
Works if you add a completer to the generateInviteLink