[amazon-cognito-identity-js] check if native module is not undefined #5192
Labels
amazon-cognito-identity-js
Used for issues related to this specific package within the monorepo
feature-request
Request a new feature
React Native
React Native related issue
Is your feature request related to a problem? Please describe.
using react-native, if the app is run without the native module built, it will result in an opaque error when attempting to do something
Describe the solution you'd like
Lib should throw immediately if native dependencie is falsey
Describe alternatives you've considered
I did debug and find this out
Additional context
react native, affects only amazon-cognito-identity-js
The text was updated successfully, but these errors were encountered: