Crashlytics from Fabric to Firebase - firebase

My ios application uses crashlytics and fabric. I wanted to migrate Crashlytics in firebase. During configuration I say that I have not crashlytics in my App. An get instruction how add crashlytics to my app. Now when I’m trying to return at the first step I’m getting an error “Action failed”. How can I link my Fabric account and firebase?

This help to migrate fabric to Firebase for ios Application
Step 1. Remove the Fabric initialization code.
We’ll first need to remove Fabric from our Xcode project settings.
Start by opening your app in Xcode.
Remove the Crashlytics Run Script Build Phase from your Xcode project’s Build Phases.
In your AppDelegate.swift, remove your Fabric initialization code by removing the import Fabric and import Crashlytics statements, as well as any Fabric.with() statements.
step 2:
To set up Firebase Crashlytics, follow along in the Firebase Documentation on Getting started with Firebase Crashlytics.
If your Podfile already contains pods for Fabric and Crashlytics, replace them with these version-specific pods:
pod 'Fabric', '~> 1.7.7'
pod 'Crashlytics', '~> 3.10.2'
Once you finish setting up Firebase Crashlytics, you can test your implementation by forcing a test crash in your app.
ios fabric to firebase migration
Go through above link it will helpful to you.

Related

Not getting Firebase Crash Reports when Upgrade to the Firebase Crashlytics SDK

Firebase sent the following message :-
"Note: The Fabric SDK is now deprecated and will continue reporting your app's crashes until November 15, 2020. On this date, the Fabric SDK and old versions of the Firebase Crashlytics SDK will stop sending crashes for your app. To continue getting crash reports in the Firebase console, make sure you upgrade to the Firebase Crashlytics SDK versions 17.0.0+ for Android,4.0.0+ for iOS, and 6.15.0+ for Unity."
I followed the steps given in the bellow link :-
https://github.com/a-imai/XamarinCrashlyticsUpgradeSample
Uninstall existing crashlytics packages
Install new packages
Reinstall google-service.json
added <string name="com.google.firebase.crashlytics.mapping_file_id">1.0</string> to strings.xml
delete <meta-data android:name="firebase_crashlytics_collection_enabled" android:value="false" /> from AndroidManifest.xml
Remove Fabric reference from MainActivity.cs i.e delete Fabric.Fabric.With(this, new Crashlytics.Crashlytics());
In MainActivity.cs, under OnCreate(), I added small code to crash the app
When I run the app, App is crashing but The Problem I am getting is not able to get crash reported under Firebase Crashlytics. But not every this this is happening, yesterday i got crash reported in firebase crashlytics. But today app is crashing but not getting crash reports in firebase console

Integrating React Native Firebase into existing iOS app with Firebase

We are currently a brownfield iOS app (with parts of the app in React Native in v0.61).
If we are already integrating Firebase Crashlytics/Analytics natively via Cocoapods, how would we go about integrating RN Firebase for the React Native side?
Do we need to remove the existing pods and follow https://invertase.io/oss/react-native-firebase/v6/app/ios instead?
When integrating RN Firebase (invertase.io, v6, iOS manual installation) into our brownfield iOS app that already has existing Firebase instance setup and operational, I removed the existing pod (pod 'Firebase/Core', '~> x.xx.xx').
And installed the RNFirebase pod (pod 'RNFBApp', :path => '../node_modules/#react-native-firebase/app').
After installation, the native iOS setup we had before worked as is.

Can't init firebase on iOS in Unity without having an Android project

I've tried initializing Firebase on Unity for iOS app only, and I'm getting this error while running:
Unable to load options for default app ([/Users/yaniv/Downloads/21312111222/New Unity Project333/Assets/StreamingAssets/google-services-desktop.json, /Users/yaniv/Downloads/21312111222/New Unity Project333/Assets/StreamingAssets/google-services.json] are missing or malformed)
I know that for cross-platform apps, I usually download the google-services.json from the Firebase project settings, but in this case, I have no Android apps under this project (it's an iOS app only).
How can I prevent Firebase from request it?

Firebase won't show me Crashlytics details without linking Fabric app

I set up a new project with Firebase and enabled Crashlytics crash reporting. My Firebase console is showing crashes (so I know the SDK is configured properly):
However, when I click on the crashes, I'm presented with this dialog:
Ok...but this app doesn't exist in Fabric, nor do I have a Fabric account (actually - I did have a Fabric account, but deleted it). AND if I create a new Fabric account, there is nowhere to "add" an app anyway. What am I missing?
Make sure that the Firebase app is connected successfully before trying Crashlatics.
Complete the steps of adding Firebase, probably you were forcing the crash which disabled the Firebase from connecting to the console.

How to communicate with Firebase database form Android Things using a service account

I have an Android client and an Android Things server application sharing a Firebase database. How can I communicate from the Android Things application with the Firebase database using a service account? Following the instructions below results in a Gradle error.
https://firebase.google.com/docs/admin/setup
Gradle error
Error:(56, 0) Version: 5.8.0 is lower than the minimum version (9.0.0) required for google-services plugin.
You've got several things going wrong here.
First, you don't need a service account to deal with Firebase services from within an Android Things app. You deal with Firebase just like you would a normal Android app as a client of the Firebase service. There is literally almost no difference in how you interface with Firebase from this perspective.
Second, don't use firebase-admin in an Android app. That's for server-side code. Use the normal Firebase client SDKs for Android.
Also bear in mind that Android Things Developer Preview 0.6.1 has Play Services 11.6.x on it, and it doesn't self-update like normal Android devices. This means you have to use the 11.6.0 Firebase and Play SDKs in your Thing app. If you try to use newer versions, the client will fail because the client SDK versions aren't matched by an equal or better Play Services APK on the device.

Resources