appsflyer-flutter-plugin icon indicating copy to clipboard operation
appsflyer-flutter-plugin copied to clipboard

AppsFlyer SDK generateInviteLink() API is not working. Either Success or Error callbacks not working (Not Getting called)

Open mateendev3 opened this issue 2 years ago • 3 comments

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);
  },
);

mateendev3 avatar Aug 13 '23 18:08 mateendev3

👋 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.

github-actions[bot] avatar Aug 13 '23 18:08 github-actions[bot]

same issue

snoopdoggy322 avatar Apr 24 '24 08:04 snoopdoggy322

Works if you add a completer to the generateInviteLink

mklepaczko avatar Aug 13 '24 13:08 mklepaczko