As a part of making the instant app version of my existing app, I made my current application module as base module and created a new application class. I moved the google-services.json to new application folder added the line apply plugin: 'com.google.gms.google-services'
at the bottom of my new application class.
But now I am getting following error
java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process null. Make sure to call FirebaseApp.initializeApp(Context) first.
I have called FirebaseApp.initializeApp(this);
in the onCreate of my application class.
Am I missing anything ?