The latest release of the Crashlytics extension requires at least version 18.104.22.1685 of the AIR SDK. Using anything less than this will mean you will not get crash reports delivered to the console on iOS!
You should have been through the setup of the Firebase Core before attempting to proceed with Crashlytics.
Make sure you have added all the extensions required for the Firebase Core extension as outlined here.
If you have previously been using Firebase Crash Reporting then you must make sure you remove this before integrating Crashlytics. Importantly remove
com.distriqt.firebase.Crashextension from the extensions packaged with your application.
The only required additional ANE is the Crashlytics ANE located in this repository:
This ANE contains all the required libraries for the main Firebase Crashlytics functionality.
The Android Support libraries encompass the Android Support, Android X and common Google libraries.
These libraries are specific to Android. There are no issues including these on all platforms, they are just required for Android.
This extension requires the following extensions:
You can access these extensions here: https://github.com/distriqt/ANE-AndroidSupport.
Due to several of our ANE's using the Square open source libraries the libraries have been separated into a separate ANEs allowing you to avoid conflicts and duplicate definitions. This means that you need to include the some of the square native extensions in your application along with this extension.
You will add these extensions as you do with any other ANE, and you need to ensure it is packaged with your application.
This ANE requires the following Square extensions:
You can access these extensions here: https://github.com/distriqt/ANE-SquareLibs.
The following should be added to your
extensions node in your application descriptor to identify all the required ANEs in your application:
There are some small additions required to the manifest for Crashlytics.
Firstly, the following must be added inside the
application node in your manifest additions.
Next, locate the
ComponentDiscoveryService service you added as part of the core Firebase manfiest additions and add the following meta data tag:
It should now appear like:
You must replace
APPLICATION_PACKAGE with your AIR application's Java package name, something like
air.com.distriqt.test. Generally this is your AIR application id prefixed by
air. unless you have specified no air flair in your build options.
You must add the following flag to your info additions node. This will delay initialisation of crashlytics until you call
enableCollection allowing us to setup Crashlytics correctly.