【发布时间】:2021-02-27 01:36:24
【问题描述】:
我正在开发一个 Ionic APP。 我的 google-services.json 位于根文件夹中。 但是有消息:
缺少 google_app_id。 Firebase 分析已停用。看 goo.gl/NAOOOI
我的代码是这样的:
this.firebaseAnalytics.logEvent('page_view', {page: "home"})
.then((res: any) => console.log(res))
.catch((error: any) => console.error(error));
我导入
导入 { FirebaseAnalytics } 从 '@ionic-native/firebase-analytics/ngx';
作为提供者。 我该如何解决这个问题?
【问题讨论】:
标签: firebase ionic-framework firebase-analytics ionic-native