-
Notifications
You must be signed in to change notification settings - Fork 58
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
buildBaseUrl()
throws an error when location
is undefined and not passing baseUrl
#934
Comments
CauseThe metro (a bundler for React Native) refers to the Server log
ProposalAdd the NOTE: metro does not yet support the |
When debugging with the local
|
We don't support React Native environment but can throw a more helpful error message if |
This behavior is related to #855, but still occurs even after merging #855.
Target Package
Environment
Current Behavior
expo-cli
@kintone/rest-api-client
App.tsx
to create KintoneRestAPIClient withoutbaseUrl
npm start
and open the app with Expo Go (in iPhone or Android phone)Then an error occurs.
Expected Behavior
It would be nice if we can see more helpful error message.
(For example,
"In this environment, `baseUrl` is required"
)The text was updated successfully, but these errors were encountered: