Auth error empty
See original GitHub issueEnvironment
Environment:
OS: macOS High Sierra 10.13.4
Node: 10.2.1
Yarn: 1.7.0
npm: 5.6.0
Watchman: 4.9.1
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed) react: 16.3.1 => 16.3.1 react-native: https://github.com/expo/react-native/archive/sdk-27.0.2.tar.gz => 0.55.2
Steps to Reproduce
exp start
Expected Behavior
Auth catches some error, not empty error message.
Actual Behavior
Auth catches empty error message 😕
Here’s my repo:
I’m using a detached/ejected Expo app on the lastest versions. Latest verion of Yarn. Latest Android Studio. I followed @3DEsprit’s quick intro article and have spent many hours getting this to work on Android SDK 27 and Expo. I hope the issue is just something small and silly that someone might spot right away.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
AuthError - Username cannot be empty - Stack Overflow
The problem is that you are not updating loginAttributes value, you are simply redefining the loginAttributes value.
Read more >Auth error Error: Token is empty. Please check your backend ...
I have a problem I have no idea what is wrong. After get at my token endpoint(Json API) in JWT token mode(authenticator:jwt) :...
Read more >Authenticator app error code "device token is empty"
So I asked the administrator on this shared email account to send me a new QR code and I got the error message...
Read more >ClientAuthError | microsoft-authentication-libraries-for-js
Throws error when attempting to append null or empty ScopeSet. Parameters. appendError: string. Returns ClientAuthError. Static createBindingKeyNotRemovedError.
Read more >Admin Authentication API Errors | Firebase - Google
It must be a non-empty string. auth/invalid-dynamic-link-domain, The provided dynamic link domain is not configured or authorized for the current project.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @mikeumus, a few thoughts. First, its not necessary to check authorization before requesting permission;
authorizeEventStore
will do this already. Also, catching the error from the request.You will also need this line when requesting permissions.
Maybe, I have not used Expo so unfortunately I’m not sure how to integrate external packages with it. But it does appear that they have a
Permissions
object - Expo docs - that handles basically does the same asauthorizeEventStore
.