Basically, I want to set up Crashlytics for flutter in the ios application but I don't find any proper docs dedicated to ios in the flutterfire docs and I try different tutorials but nothing works. please guide me !!
CodePudding user response:
after you define your app in firebase console and download the "GoogleService-Info.plist":
you must add it to ios folder in flutter app:
you must add the bellow package to pubspec.yaml file and use it like below link:
dependencies:
firebase_crashlytics: ^2.7.1
"${PODS_ROOT}/FirebaseCrashlytics/run"
you must enable crashlytics in firebase console:
this works(enables) when you crash manually on the button tap (it means that after you launch your app you must make a crash to send a signal to your crashlytics) after that your crashlytics enables.