sarriaroman / FabricPlugin

Fabric.io plugin for Cordova or Phonegap
MIT License
198 stars 159 forks source link

Integration Fabric - Firebase #121

Closed thpoiani closed 6 years ago

thpoiani commented 6 years ago

Hello guys. I got a error when I tried to integrate Fabric and Firebase:

image

cordova-fabric-plugin 1.1.10 "cordova-fabric-plugin"

Do you know what should I do to resolve that?

Thanks.

bmwertman commented 6 years ago

I got past the Crashlytics SDK point but when I get to the last check box it says no events detected in firebase. Were you able to solve this?

814k31 commented 6 years ago

I manually updated the build.gradle inside the fabric plugin platforms/android/cordova-fabric-plugin/<project>-build-extras.gradle And changed the lines:

dependencies {
  compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
    transitive = true;
  }
}

to

dependencies {
  compile('com.crashlytics.sdk.android:crashlytics:2.8.0@aar') {
    transitive = true;
  }
}

You then need to clean and build

Of course this could cause errors elsewhere as the plugin developers will have to upgrade crashlytics in the plugin and test if it breaks anything

814k31 commented 6 years ago

@bmwertman I would say you may have issues with setting up firebase analytics itself Check the log cat for the program to see if you have errors along the line of Missing google_app_id. Firebase Analytics disabled (This message will not appear in chrome inspector) https://github.com/chemerisuk/cordova-plugin-firebase-analytics/issues/13

Otherwise good luck

814k31 commented 6 years ago

117 is also relevant here