无法调用A0Auth0.showUrl

时间:2017-07-31 06:59:07

标签: react-native auth0

我正在使用Auth0进行身份验证。在iOS上,react-native-auth0运行完美。

然而,当谈到Android时,错误就出现了:

error screenshot

1 个答案:

答案 0 :(得分:0)

尝试更改customtabs

中的node_modules/react-native-auth0/android/build.gradle版本

dependencies {
    compile 'com.facebook.react:react-native:+'
    compile 'com.android.support:customtabs:23.3.0'
}

dependencies {
    compile 'com.facebook.react:react-native:+'
    compile 'com.android.support:customtabs:23.0.1'
}

为我和其他人修正了它。感谢:https://github.com/auth0/react-native-auth0/issues/67#issuecomment-322209597