Skip to main content

Crash Detection via Crashlytics

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.

Unity

Prerequisites

You will be using Unity Firebase 11.8.0 to integrate Crashlytics.

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.

Instructions

Please follow the official instructions.

Android

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.

your-export-directory/
build/
build.gradle
...
Firebase/ <- FIREBASE FOR UNITY
gradle/
gradle.properties
gradlew.bat
libs/ <- DISREGARD
com.google.android.gms.play-services*
com.crashlytics.sdk.android*
com.google.firebase.firebase-*
io.fabric.sdk.android.fabric*
...
src/

Finally, the section titled Run the resolver (optional) is misleading. Running the Google Play Services resolver is mandatory.