Expo - 远程配置:当前浏览器不支持索引数据库

gyg*_*yte 6 javascript indexeddb firebase firebase-remote-config expo

我有一个博览会应用程序,并尝试添加 Firebase 支持以使用其远程配置服务。我正在这段代码中测试它

// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
import { getRemoteConfig } from "firebase/remote-config";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries

// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
    apiKey: "aaaaaaaaaaaaaaaaaaa",
    authDomain: "bbbbbbbbbbbbbbbb",
    projectId: "ccccccccccc",
    storageBucket: "ddddddddddddddddddddddddddd",
    messagingSenderId: "eeeeeeeeeeeeeeeee",
    appId: "fffffffffffffffffffff",
    measurementId: "gggggggggggggggggg"
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
export const config = getRemoteConfig(app);
config.settings.minimumFetchIntervalMillis = 3600000;
config.defaultConfig = {
    "test": "Welcome222222"
};
config.getValue("test");
Run Code Online (Sandbox Code Playgroud)

但是当我尝试在 Android 模拟器上的 Expo Go 中运行它时,我得到了

FirebaseError:远程配置:当前浏览器不支持索引数据库(remoteconfig/indexed-db-unavailable)

有没有办法不使用任何索引数据库?我认为该库只会让我舒适地使用远程配置 REST api,并且我可以只发送请求,在这种情况下我不需要任何数据库。