Android: ability to toggle auth0Domain and auth0Scheme...?

Hi…

I am currently following this tutorial: Auth0 Tutorial for Android.

My question concerns the build.gradle file for the app.

// —> Add the next line
manifestPlaceholders = [auth0Domain: “@string/com_auth0_domain”, auth0Scheme: “demo”]
// <—

I also see that these values, per documentation:

The placeholders are used internally to define an intent-filter that captures the authentication callback URL.

I have a situation where I must toggle the domain and scheme between the development and production environments. Auth0 is unable to complete authentication on my Android app because those values are dynamic.

Are there any options besides resorting to defining flavors for this type of situation?

1 Like

Hey there!

Can I ask you to raise it as a GitHub issue in the quickstart repo here?

This way we’ll be able to tackle that directly with the quickstart maintainers and solve it most effectively. Make sure to share the link to the issue with us here so we can ping them. Thank you!