-
Notifications
You must be signed in to change notification settings - Fork 21
Crashlytics
Mk5 edited this page Oct 18, 2020
·
2 revisions
Fabric Crashlytics will be unavailable after 15 October 2020. Crash reporting is available via Firebase Crashlytics. If you need it you should read this wiki page.
To use crash reporting feature in your project you should install crashlytics into it. Look at the following guide for android and ios.
1. Add the fabric and the crashlytics to build.gradle
:
buildscript {
repositories {
google()
}
dependencies {
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
}
}
project(":android") {
apply plugin: "com.android.application"
// Put crashlitycs after android plugin - this is important.
apply plugin: 'com.google.firebase.crashlytics'
// ...
dependencies {
implementation 'com.google.firebase:firebase-crashlytics'
}
}
2. Add the internet permission to the AndroidManifest.xml
:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity android:name=".MainActivity" android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
Not supported yet - will be available with RoboVM backend
Crash reporting is unavailable in the firebase web api.
- Getting started
-
Usage 2.x/3.x
- Promises
- Filtering API
- Google Sign in
- Apple Sign in
- Mock other platforms
- Debug
- Database POJO Conversion
-
Examples
- Anonymous authentication
- Create user
- Sign in / Sign out
- Google sign in
- User management
- Upload image to storage
- Download image from storage
- Upload bytes to storage
- Download bytes from storage
- Delete something from storage
- Analytics API methods
- Crash API methods
- Database read value
- Database read object
- Database set value
- Database limit equal
- Database reference listener
- Database read objects list
- Database child event
- Database transaction
- Database sharding
- Database onDisconnect
- General examples
- Kotlin
- Usage 1.x
- Donate