エミュレータでのテスト
エミュレータの準備:
// Firebaseにアクセスするコード
import { getFunctions, httpsCallable, connectFunctionsEmulator } from "https://www.gstatic.com/firebasejs/10.7.0/firebase-functions.js";エミュレータへの接続設定:
// エミュレータに接続するコード
connectFunctionsEmulator(window.functions, 'localhost', 5001);<edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">
<application android:usesCleartextTraffic="true" />
</edit-config>
<preference name="scheme" value="http"/> 最終更新