Amazon web services 反应本机上的AWS Cognito同步

Amazon web services 反应本机上的AWS Cognito同步,amazon-web-services,react-native,aws-cognito,Amazon Web Services,React Native,Aws Cognito,可以在我的react本机应用程序中使用吗 的开发人员预览中没有明显的支持 似乎曾经支持过,但现在 我自己尝试使用Amazon Cognito Sync Manager for JavaScript时,只能得到一个react本机打包程序错误: Bundling `index.ios.js` 99.4% (316/317), failed. error: bundling failed: "Unable to resolve module 'aws-sdk' from '.../testProje

可以在我的react本机应用程序中使用吗

的开发人员预览中没有明显的支持

似乎曾经支持过,但现在

我自己尝试使用Amazon Cognito Sync Manager for JavaScript时,只能得到一个react本机打包程序错误:

Bundling `index.ios.js`  99.4% (316/317), failed.
error: bundling failed: "Unable to resolve module 'aws-sdk' from '.../testProject/node_modules/amazon-cognito-js/dist/amazon-cognito.min.js': Module does not exist in the module map or in these directories:.../testProject/node_modules
我猜这是在npm兔子洞深处的某种循环引用。不过,这种方法似乎无论如何都不应该奏效,因为repo的自述文件指的是它是为浏览器而不是本机设备设计的:

库使用浏览器的本地存储API

目前我是否可以将每个cognito用户的数据存储在react native中


谢谢

似乎已经有了发展,虽然还没有完全有用:似乎已经有了发展,尽管还没有完全有用: