【发布时间】:2019-04-23 15:13:47
【问题描述】:
import firebase from "react-native-firebase";
remoteKey = "testJSON"
firebase
.config()
.fetch(0)
.then(() => {
return firebase.config().activateFetched();
})
.then(activated => {
if (!activated) console.log("Fetched data not activated");
return firebase.config().getKeysByPrefix(remoteKey);
});
我在我的 react native 项目中的 App.js 中调用它,但它给出了错误“fetch() 操作无法完成,由于节流” 可能是什么问题 ?
【问题讨论】:
-
您是否尝试在互联网上搜索解决方案?你试过什么?
标签: reactjs firebase react-native