Issue: app load blank after import GoogleAnalytics



I try to use GA by following

However, once I import it in app.component.ts and instantiate it in constructor, the app will load only a blank page forever.
I haven’t yet call any method in ga.

once I remove the private ga: GoogleAnalytics in constructor, the app comes back.
No clue how to debug it, any hint?

 import { GoogleAnalytics } from "@ionic-native/google-analytics";
export class MyApp {
  constructor( ..., private ga: GoogleAnalytics) {}



My bad, I didnt put it in app.module.ts first…
The error message actually was catched in ionic serve