You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
Because aws-sdk has nodejs dependencies, to integrate with my react-native project, I have to change a line of code in node_modules/dist/amazon-cognito.min.js from require("aws-sdk") to require("aws-sdk/dist/aws-sdk-react-native").
This of course isn't ideal for my project, since it makes me worry that if amazon-cognito-js updates, my code might break.
Would it be possible to release a branch of this project for react-native users containing this small change, or offer a more dynamic require system? Thanks!
The text was updated successfully, but these errors were encountered:
Because aws-sdk has nodejs dependencies, to integrate with my react-native project, I have to change a line of code in node_modules/dist/amazon-cognito.min.js from
require("aws-sdk")
torequire("aws-sdk/dist/aws-sdk-react-native")
.This of course isn't ideal for my project, since it makes me worry that if amazon-cognito-js updates, my code might break.
Would it be possible to release a branch of this project for react-native users containing this small change, or offer a more dynamic require system? Thanks!
The text was updated successfully, but these errors were encountered: