capacitor-community / photoviewer

PhotoViewer table images with fullscreen and sharing capabilities
MIT License
49 stars 12 forks source link

Firebase crashlytics conflicts #59

Open JulienLecoq opened 1 month ago

JulienLecoq commented 1 month ago

Describe the bug

Is the plugin compatible with crashlytics from Firebase?

I'm getting this error while trying to run my Ionic mobile application with this line + this plugin:

classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.0'
Circular dependency between the following tasks:
:app:dataBindingGenBaseClassesDebug
+--- :app:mergeDebugResources
|    \--- :app:injectCrashlyticsMappingFileIdDebug
|         +--- :app:dataBindingGenBaseClassesDebug (*)
|         \--- :app:kaptDebugKotlin
|              +--- :app:dataBindingGenBaseClassesDebug (*)
|              +--- :app:kaptGenerateStubsDebugKotlin
|              |    +--- :app:dataBindingGenBaseClassesDebug (*)
|              |    \--- :app:processDebugResources
|              |         +--- :app:mapDebugSourceSetPaths
|              |         |    \--- :app:injectCrashlyticsMappingFileIdDebug (*)
|              |         +--- :app:mergeDebugResources (*)
|              |         +--- :app:parseDebugLocalResources
|              |         |    \--- :app:packageDebugResources
|              |         |         \--- :app:injectCrashlyticsMappingFileIdDebug (*)
|              |         +--- :app:processDebugManifest
|              |         |    \--- :app:processDebugMainManifest
|              |         |         \--- :app:extractDeepLinksDebug
|              |         |              \--- :app:injectCrashlyticsMappingFileIdDebug (*)
|              |         \--- :app:processDebugManifestForPackage
|              |              \--- :app:processDebugManifest (*)
|              +--- :app:mergeDebugResources (*)
|              +--- :app:parseDebugLocalResources (*)
|              \--- :app:processDebugResources (*)
\--- :app:parseDebugLocalResources (*)

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

* Exception is:
org.gradle.api.CircularReferenceException: Circular dependency between the following tasks:
:app:dataBindingGenBaseClassesDebug
+--- :app:mergeDebugResources
|    \--- :app:injectCrashlyticsMappingFileIdDebug
|         +--- :app:dataBindingGenBaseClassesDebug (*)
|         \--- :app:kaptDebugKotlin
|              +--- :app:dataBindingGenBaseClassesDebug (*)
|              +--- :app:kaptGenerateStubsDebugKotlin
|              |    +--- :app:dataBindingGenBaseClassesDebug (*)
|              |    \--- :app:processDebugResources
|              |         +--- :app:mapDebugSourceSetPaths
|              |         |    \--- :app:injectCrashlyticsMappingFileIdDebug (*)
|              |         +--- :app:mergeDebugResources (*)
|              |         +--- :app:parseDebugLocalResources
|              |         |    \--- :app:packageDebugResources
|              |         |         \--- :app:injectCrashlyticsMappingFileIdDebug (*)
|              |         +--- :app:processDebugManifest
|              |         |    \--- :app:processDebugMainManifest
|              |         |         \--- :app:extractDeepLinksDebug
|              |         |              \--- :app:injectCrashlyticsMappingFileIdDebug (*)
|              |         \--- :app:processDebugManifestForPackage
|              |              \--- :app:processDebugManifest (*)
|              +--- :app:mergeDebugResources (*)
|              +--- :app:parseDebugLocalResources (*)
|              \--- :app:processDebugResources (*)
\--- :app:parseDebugLocalResources (*)

To Reproduce Steps to reproduce the behavior:

  1. Configure Firebase crashlytics for Android
  2. Configure this plugin
  3. Run the project

Expected behavior It should works.

Desktop (please complete the following information):

Smartphone (please complete the following information):