I want to use firebase services like analytics, crashlytics, firestore modules in my cocos 3.8 project. Any help will be appreciated
Here I am sharing how I have used firebase analytics in one of the projects,
- Create a firebase project and register one project in its dashboard.
- Copy the credentials and script part provided by firebase to add the SDK.
- Create Web build of the Cocos creator project.
- Paste the copied script inside tag of “index.html” file of build folder.
- Save the code and run the same build.
- Go to analytics dashboard of firebase and view the active user and other analytic.