So as per documentation, the callback URL for React Native Android should look like this:
PACKAGE_NAME.auth0://{yourDomain}/android/PACKAGE_NAME/callback
So considering my application has applicationId of com.awesome.awesomeApp, I imagine the callback URL which would be invoked would look like this
com.awesome.awesomeApp.auth0://{yourDomain}/android/com.awesome.awesomeApp/callback
However, the actual URL that is being invoked is this:
com.awesome.awesomeapp.auth0://{yourDomain}/android/com.awesome.awesomeApp/callback
As you can see, the difference is that the second com.awesome.awesomeapp is not using camel case. Currently I can’t get the login flow to work on Android, which is why I was debugging and noticed this. Is this an actual issue?
Why would the applicationId differ in the first place but not in the second place considering this is how it is being passed to Auth0:
namespace "com.awesome.awesomeApp"
defaultConfig {
applicationId "com.awesome.awesomeApp"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled true
versionCode buildCode()
versionName "3.2.7"
manifestPlaceholders = [auth0Domain: "my-domain", auth0Scheme: "${applicationId}.auth0"]
}