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

[FR] In actionCodeSettings , I cannot use OneLink domain as dynamicLinkDomain #2771

Open
keisan1231 opened this issue Nov 18, 2024 · 3 comments

Comments

@keisan1231
Copy link

Is your feature request related to a problem? Please describe.

We use methods like generateSignInWithEmailLink to authenticate and then directly redirect to the app via Dynamic Links. However, since the Dynamic Links service is scheduled to be discontinued in August, we are attempting to replace it with AppsFlyer's OneLink.

Describe the solution you'd like
I would like to be able to set AppsFlyer's OneLink domain as the dynamicLinkDomain.

Describe alternatives you've considered
I considered creating that mechanism myself without using the generateEmailVerificationLink method, but if possible, I would like to continue using generateEmailVerificationLink as it is.

Additional context

This code get error "Error: The provided dynamic link domain is not configured or authorized for the current project."
I have already done this(onelink.me is appsflyer onelink)

const actionCodeSettings = {
  url: 'https://www.example.com/checkout?cartId=1234',
  handleCodeInApp: true,
  iOS: {
    bundleId: 'com.example.ios',
  },
  android: {
    packageName: 'com.example.android',
    installApp: true,
    minimumVersion: '12',
  },
  // FDL custom domain.
  dynamicLinkDomain: 'coolapp.page.link',
};

admin.auth().generateEmailVerificationLink(to_email, actionCodeSettings);
@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@Xiaoshouzi-gh
Copy link
Contributor

Our team is actively working on this, please stay tuned.

@keisan1231
Copy link
Author

@Xiaoshouzi-gh I am looking forward to it
Please let me know a current alternative method using OneLink that is equivalent to generateEmailVerificationLink

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

No branches or pull requests

4 participants