-
Notifications
You must be signed in to change notification settings - Fork 209
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
Bug Report: Auth0 SDK Fails on Android Emulator with a0.sdk.internal_error.unknown #1001
Comments
I am seeing this same error on my real android device - my android emulator is able to log in as is my iOS device. |
Hi @robertevans1, could you share your config details and if you're using webAuth. Thanks |
Hi @vjo002 👋 @pmathew92 @arpit-jn and @brth31 are maintaining this project now. They will get back to you soon on this 😄 |
@vjo002 Thank you for bringing this issue to our notice. We will take a look at it |
Hi @pmathew92, Did you get a chance to look at this issue? Thanks |
Hey @vjo002 Can you share the exact emulator configuration? There are certain emulators without Chrome (or any other supported browsers) or without Play services that could cause this issue. Can you confirm that this is not the case? Just to be double sure, can you create a new emulator with Play services and check it for us? |
Checklist
Description
I am using the Auth0 SDK in a React Native application, and the authentication process works fine on both an iPhone simulator and a physical Android device. However, on the Android emulator, the login attempt fails and enters the catch block with the error: I can also confirm the login was successful from Auth0 dashboard logs.
Code Snippet:
Environment Details:
React Native Version: 0.70.14
React Version: 18.1.0
OS: macOS 14.7
Android SDK: NDK 22.1.7171670
Xcode: 16.1/16B40
Node Version: 21.6.1
npm Version: 10.2.4
Android Studio Version: 2023.1 AI-231.9392.1.2311.11076708
AVD: API 31 - 12
Reproduction
Expected Behavior:
The authorize method should succeed and return an authentication response as expected.
Actual Behavior:
The process fails on the Android emulator with the error: a0.sdk.internal_error.unknown.
Log:
Additional context
The issue does not occur on the iPhone simulator or on a physical Android device.
The error is consistently reproduced when running on the Android emulator.
Possible Causes / Notes:
Request for Help:
react-native-auth0 version
3.1.0
React Native version
0.70.14
Expo version
No response
Platform
Android
Platform version(s)
API 31 - 12
The text was updated successfully, but these errors were encountered: