amazon-archives/amazon-cognito-js

Request: React native support

anthonyjoeseph opened this issue · 0 comments

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!