At Skillz, we use Firebase Crashlytics for crash reporting. We recommend integrating Crashlytics with your game to identify bugs and crashes more efficiently.
This article will discuss how to integrate Crashlytics into your Skillz based game.
Integrating Crashlytics into your XCode project is fairly straightforward. Simply follow the detailed instructions here. For Step 2: Add the Crashlytics SDK, please add the framework manually instead of via Cocoa Pods.
Follow the instructions here to integrate Crashlytics into your Android Studio project.
You will be using Unity Firebase 6.15.1 to integrate Crashlytics.
Firebase Messaging and Dynamic Links
Firebase Messaging and Dynamic Links are currently not supported with Skillz. Using either of these libraries will prevent push notifications and other Skillz SDK features from functioning correctly. Please keep in mind the Skillz SDK provides push notifications. As such you still need to include the Firebase Messaging libraries, the associated google-services.json file, and upload your Firebase server key to enable push notifications.
Please follow the official instructions.
The official instructions in the Firebase docs are targeted for the latest version of Unity Firebase. However, Skillz has been tested with Unity Firebase 6, which is an older version. As a result, there will be a few discrepancies.
Under Step 4: Build or run your project, the Exports to an Android Studio project subsection instructs you to verify your project structure.
However, you do not need to verify that the files listed under the
libs/ section. This is because Skillz requires that you patch your mainTemplate.gradle when resolving dependencies, rather than downloading the resulting JARs/AARs.
Firebase/ <- FIREBASE FOR UNITY
libs/ <- DISREGARD