General questions about the use of cordova-plugin-firebase


I am using the plugin cordova-plugin-firebase. Unfortunately, I can not see from the description where the code lines come. Can someone tell me in which area to use these?

Come into the respective controller or into the .run or .config method of the APP?

Many Thanks.

Best regards

Best to put the code in the .run method of the app. That way it will always run first thing.