0
votes

I am developing an Ionic APP. My google-services.json is in the root folder. But there is the message:

Missing google_app_id. Firebase Analytics disabled. See goo.gl/NAOOOI

My code is like this:

this.firebaseAnalytics.logEvent('page_view', {page: "home"})
        .then((res: any) => console.log(res))
        .catch((error: any) => console.error(error));

I import the

import { FirebaseAnalytics } from '@ionic-native/firebase-analytics/ngx';

as a provider. How can I solve this problem?

1

1 Answers

0
votes

I copied my google-services.json to the android/app folder.