React native 键为AWSPinpoint\u MYKEY,选项未定义
我得到以下信息: 获取项目:关键是AWSPinpoint_uu“我的”\uaws\umobile\uanalytics\uapp\uid”,选项未定义 我在aws-export.js上的所有信息都与我的项目相匹配 单击消息后,AsyncStorageCache.js:526中的源代码显示:React native 键为AWSPinpoint\u MYKEY,选项未定义,react-native,aws-amplify,React Native,Aws Amplify,我得到以下信息: 获取项目:关键是AWSPinpoint_uu“我的”\uaws\umobile\uanalytics\uapp\uid”,选项未定义 我在aws-export.js上的所有信息都与我的项目相匹配 单击消息后,AsyncStorageCache.js:526中的源代码显示: /** * Get item from cache. It will return null if item doesn’t exist or it has been expired. * If you
/**
* Get item from cache. It will return null if item doesn’t exist or it has been expired.
* If you specified callback function in the options,
* then the function will be executed if no such item in the cache
* and finally put the return value into cache.
* Please make sure the callback function will return the value you want to put into the cache.
* The cache will abort output a warning:
* If the key is invalid
* If error happened with AsyncStorage
*
* @param {String} key - the key of the item
* @param {Object} [options] - the options of callback function
* @return {Promise} - return a promise resolves to be the value of the item
*/
如果密钥是在我的aws-export.js上定义的,我不确定为什么会出现此错误
谢谢你的帮助