我收到以下消息:
获取项目:键是 AWSPinpoint_"My_aws_mobile_analytics_app_id" 选项未定义
我在 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 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 上定义的,我不确定为什么会收到此错误
谢谢你的帮助