いろいろ試してやっとFirestoreがemulatorsに向いてくれたのでメモ。
https://www.memory-lovers.blog/entry/2021/01/17/232930
https://www.memory-lovers.blog/entry/2021/01/17/232930
firebase --version
9.5.0
firebase.jsでemulatorsの設定を追加する。
firebase.jsでemulatorsの設定を追加する。
import firebase from 'firebase'
import "firebase/auth";
import "firebase/firestore";
import "firebase/functions";
if (!firebase.apps.length) {
firebase.initializeApp(
{
apiKey: ,
authDomain:,
projectId:,
storageBucket:,
messagingSenderId:,
appId: ,
measurementId: ,
}
)
// Emulatorの有効化
if (process.env.NODE_ENV != "production") {
// Authentication用の設定
firebase.auth().useEmulator("http://localhost:9099/");
// Cloud Functions用の設定
const functions = firebase.app().functions("asia-northeast1");
functions.useEmulator("localhost", 5001);
// Firestore用の設定
firebase.firestore().settings({ host: "localhost:8080", ssl: false });
}
}
export default firebase
Casino Finder (Google Play) Reviews & Demos - Go
返信削除Check Casino Finder (Google Play). A look at some of gri-go.com the best gambling sites in the world. They herzamanindir offer titanium ring a full goyangfc game library, novcasino