https://github.com/inkapplications/kimchi-firebase-bridge
Firebase Analytics Integration for Kimchi
https://github.com/inkapplications/kimchi-firebase-bridge
Last synced: 11 months ago
JSON representation
Firebase Analytics Integration for Kimchi
- Host: GitHub
- URL: https://github.com/inkapplications/kimchi-firebase-bridge
- Owner: InkApplications
- License: mit
- Created: 2020-09-12T16:08:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-11T11:58:14.000Z (about 3 years ago)
- Last Synced: 2025-03-12T07:45:56.369Z (over 1 year ago)
- Language: Kotlin
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Firebase Bridge for Kimchi
This provides a default implementation for integrating Firebase
into [Kimchi]'s logging and analytics.
## Installation
- Make sure [Kimchi] is already installed
- Make sure [Firebase is set up](https://firebase.google.com/docs/android/setup)
- Add the maven artifact `com.inkapplications.kimchi-firebase-bridge:analytics:2.+`
- If using Crashlytics, make sure the [plugin is properly installed](https://firebase.google.com/docs/crashlytics/get-started?authuser=0&platform=android)
## Usage
### Firebase Analytics
Just add the adapter to your list of Kimchi Analytics Writers:
```kotlin
Kimchi.addAnalytics(FirebaseAnalyticsAdapter())
```
### Crashlytics
To send all logs and non-fatals to crashlytics, add the adapter to your list
of Kimchi Log Writers:
```kotlin
Kimchi.addLog(crashlyticsLogger())
```
That's it! Your logs for non-fatals should now appear in Crashlytics.
## Firebase Supported versions
See the [Change Log] for information about firebase SDK updates.
[Change Log]: CHANGELOG.md
[Kimchi]: https://kimchi.inkapplications.com