Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mateendev3 opened this issue Aug 13, 2023 · 3 comments
Labels

Comments

@mateendev3
Copy link

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 mateendev3 changed the title Flutter SDK generateInviteLink() API is not working. Either Success or Error callbacks not working (Not Getting called) AppsFlyer SDK generateInviteLink() API is not working. Either Success or Error callbacks not working (Not Getting called) Aug 13, 2023
@github-actions
Copy link

👋 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 support@appsflyer.com.
When submitting the ticket, please specify:

  • ✅ your AppsFlyer sign-up (account) email
  • ✅ app ID
  • ✅ production steps
  • ✅ logs
  • ✅ code snippets
  • ✅ and any additional relevant information.

@snoopdoggy322
Copy link

same issue

@mklepaczko
Copy link

mklepaczko commented Aug 13, 2024

Works if you add a completer to the generateInviteLink

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants