简体   繁体   中英

How can I add a hook in the AndroidManifest.xml for Firebase to initialize?

I've been using Firebase for a few things already, but now I want to add the Crashlytics and on step 3 in the guide it is said "For Android apps, a hook in the AndroidManifest.xml file automatically initializes the Firebase SDK."

Is there something I actually need to do?

No, the documentation is saying that the hook already exists, if you use the default integration steps for Firebase. It's a ContentProvider that gets merged into the app by the build system. This ContentProvided is loaded first thing when the app starts, and its sole purpose is to initialize the Firebase SDK.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM