Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.

Build error: Duplicate class com.google.firebase #176

Open
GuillermoVA opened this issue Sep 30, 2021 · 11 comments
Open

Build error: Duplicate class com.google.firebase #176

GuillermoVA opened this issue Sep 30, 2021 · 11 comments

Comments

@GuillermoVA
Copy link

Failed build: Duplicate class com.google.firebase

Project Setup

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext {
buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
ndkVersion = "20.1.5948944"
}
repositories {
google()
jcenter()
gradlePluginPortal()
}
dependencies {
classpath("com.android.tools.build:gradle:4.1.0")
classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.13.4, 0.99.99]'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}

    google()
    jcenter()
    maven { url 'https://www.jitpack.io' }
}

}

app/build.gradle
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
apply plugin: "com.android.application"

import com.android.build.OutputFile

/**

  • The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
  • and bundleReleaseJsAndAssets).
  • These basically call react-native bundle with the correct arguments during the Android build
  • cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
  • bundle directly from the development server. Below you can see all the possible configurations
  • and their defaults. If you decide to add a configuration block, make sure to add it before the
  • apply from: "../../node_modules/react-native/react.gradle" line.
  • project.ext.react = [
  • // the name of the generated asset file containing your JS bundle
  • bundleAssetName: "index.android.bundle",
  • // the entry file for bundle generation. If none specified and
  • // "index.android.js" exists, it will be used. Otherwise "index.js" is
  • // default. Can be overridden with ENTRY_FILE environment variable.
  • entryFile: "index.android.js",
  • // https://reactnative.dev/docs/performance#enable-the-ram-format
  • bundleCommand: "ram-bundle",
  • // whether to bundle JS and assets in debug mode
  • bundleInDebug: false,
  • // whether to bundle JS and assets in release mode
  • bundleInRelease: true,
  • // whether to bundle JS and assets in another build variant (if configured).
  • // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
  • // The configuration property can be in the following formats
  • // 'bundleIn${productFlavor}${buildType}'
  • // 'bundleIn${buildType}'
  • // bundleInFreeDebug: true,
  • // bundleInPaidRelease: true,
  • // bundleInBeta: true,
  • // whether to disable dev mode in custom build variants (by default only disabled in release)
  • // for example: to disable dev mode in the staging build type (if configured)
  • devDisabledInStaging: true,
  • // The configuration property can be in the following formats
  • // 'devDisabledIn${productFlavor}${buildType}'
  • // 'devDisabledIn${buildType}'
  • // the root of your project, i.e. where "package.json" lives
  • root: "../../",
  • // where to put the JS bundle asset in debug mode
  • jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
  • // where to put the JS bundle asset in release mode
  • jsBundleDirRelease: "$buildDir/intermediates/assets/release",
  • // where to put drawable resources / React Native assets, e.g. the ones you use via
  • // require('./image.png')), in debug mode
  • resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
  • // where to put drawable resources / React Native assets, e.g. the ones you use via
  • // require('./image.png')), in release mode
  • resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
  • // by default the gradle tasks are skipped if none of the JS files or assets change; this means
  • // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
  • // date; if you have any other folders that you want to ignore for performance reasons (gradle
  • // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
  • // for example, you might want to remove it from here.
  • inputExcludes: ["android/", "ios/"],
  • // override which node gets called and with what additional arguments
  • nodeExecutableAndArgs: ["node"],
  • // supply additional arguments to the packager
  • extraPackagerArgs: []
  • ]
    */

project.ext.react = [
enableHermes: false, // clean and rebuild if changing
]

apply from: "../../node_modules/react-native/react.gradle"

/**

  • Set this to true to create two separate APKs instead of one:
    • An APK that only works on ARM devices
    • An APK that only works on x86 devices
  • The advantage is the size of the APK is reduced by about 4MB.
  • Upload all the APKs to the Play Store and people will download
  • the correct one based on the CPU architecture of their device.
    */
    def enableSeparateBuildPerCPUArchitecture = false

/**

  • Run Proguard to shrink the Java bytecode in release builds.
    */
    def enableProguardInReleaseBuilds = false

/**

  • The preferred build flavor of JavaScriptCore.
  • For example, to use the international variant, you can use:
  • def jscFlavor = 'org.webkit:android-jsc-intl:+'
  • The international variant includes ICU i18n library and necessary data
  • allowing to use e.g. Date.toLocaleString and String.localeCompare that
  • give correct results when using with locales other than en-US. Note that
  • this variant is about 6MiB larger per architecture than default.
    */
    def jscFlavor = 'org.webkit:android-jsc:+'

/**

  • Whether to enable the Hermes VM.
  • This should be set on project.ext.react and mirrored here. If it is not set
  • on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
  • and the benefits of using Hermes will therefore be sharply reduced.
    */
    def enableHermes = project.ext.react.get("enableHermes", false);

android {
ndkVersion rootProject.ext.ndkVersion

compileSdkVersion rootProject.ext.compileSdkVersion

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

defaultConfig {
    applicationId "com.solfium"
    minSdkVersion rootProject.ext.minSdkVersion
    targetSdkVersion rootProject.ext.targetSdkVersion
    versionCode 1
    versionName "1.0"
    missingDimensionStrategy 'react-native-camera', 'general'
}
splits {
    abi {
        reset()
        enable enableSeparateBuildPerCPUArchitecture
        universalApk false  // If true, also generate a universal APK
        include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
    }
}
signingConfigs {
    debug {
        storeFile file('debug.keystore')
        storePassword 'android'
        keyAlias 'androiddebugkey'
        keyPassword 'android'
    }
}
buildTypes {
    debug {
        signingConfig signingConfigs.debug
    }
    release {
        // Caution! In production, you need to generate your own keystore file.
        // see https://reactnative.dev/docs/signed-apk-android.
        signingConfig signingConfigs.debug
        minifyEnabled enableProguardInReleaseBuilds
        proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
    }
}

// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
    variant.outputs.each { output ->
        // For each separate APK per architecture, set a unique version code as described here:
        // https://developer.android.com/studio/build/configure-apk-splits.html
        // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc.
        def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
        def abi = output.getFilter(OutputFile.ABI)
        if (abi != null) {  // null for the universal-debug, universal-release variants
            output.versionCodeOverride =
                    defaultConfig.versionCode * 1000 + versionCodes.get(abi)
        }

    }
}

}

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules

implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'

debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
  exclude group:'com.facebook.fbjni'
}

debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
    exclude group:'com.facebook.flipper'
    exclude group:'com.squareup.okhttp3', module:'okhttp'
}

debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
    exclude group:'com.facebook.flipper'
}

if (enableHermes) {
    def hermesPath = "../../node_modules/hermes-engine/android/";
    debugImplementation files(hermesPath + "hermes-debug.aar")
    releaseImplementation files(hermesPath + "hermes-release.aar")
} else {
    implementation jscFlavor
}

}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

Full Error

BUILD ERROR
Execution failed for task ':app:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class com.google.firebase.components.AbstractComponentContainer found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.Component found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.Component$$Lambda$1 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.Component$$Lambda$2 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.Component$$Lambda$3 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.Component$1 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.Component$Builder found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentContainer found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentDiscovery found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentDiscovery$1 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentDiscovery$MetadataRegistrarNameRetriever found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentDiscovery$RegistrarNameRetriever found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentFactory found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentRegistrar found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentRuntime found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentRuntime$$Lambda$1 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentRuntime$$Lambda$2 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.ComponentRuntime$$Lambda$3 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.CycleDetector found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.CycleDetector$1 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.CycleDetector$ComponentNode found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.CycleDetector$Dep found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.Dependency found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.DependencyCycleException found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.DependencyException found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.EventBus found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.EventBus$$Lambda$1 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.Lazy found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.MissingDependencyException found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.RestrictedComponentContainer found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.components.RestrictedComponentContainer$RestrictedPublisher found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.events.Event found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.events.EventHandler found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.events.Publisher found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.events.Subscriber found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
     Duplicate class com.google.firebase.inject.Provider found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Dependency Tree

+--- project :app ()
+--- com.facebook.react:react-native:+ -> 0.64.2
| +--- com.facebook.infer.annotation:infer-annotation:0.11.2
| | --- com.google.code.findbugs:jsr305:3.0.1 -> 3.0.2
| +--- com.facebook.yoga:proguard-annotations:1.14.1
| +--- javax.inject:javax.inject:1
| +--- androidx.appcompat:appcompat:1.0.2 -> 1.1.0
| | +--- androidx.annotation:annotation:1.1.0
| | +--- androidx.core:core:1.1.0 -> 1.3.1
| | | +--- androidx.annotation:annotation:1.1.0
| | | +--- androidx.lifecycle:lifecycle-runtime:2.0.0 -> 2.2.0
| | | | +--- androidx.lifecycle:lifecycle-common:2.2.0
| | | | | --- androidx.annotation:annotation:1.1.0
| | | | +--- androidx.arch.core:core-common:2.1.0
| | | | | --- androidx.annotation:annotation:1.1.0
| | | | --- androidx.annotation:annotation:1.1.0
| | | +--- androidx.versionedparcelable:versionedparcelable:1.1.0
| | | | +--- androidx.annotation:annotation:1.1.0
| | | | --- androidx.collection:collection:1.0.0 -> 1.1.0
| | | | --- androidx.annotation:annotation:1.1.0
| | | --- androidx.collection:collection:1.0.0 -> 1.1.0 (
)
| | +--- androidx.cursoradapter:cursoradapter:1.0.0
| | | --- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | +--- androidx.fragment:fragment:1.1.0 -> 1.2.1
| | | +--- androidx.annotation:annotation:1.1.0
| | | +--- androidx.core:core:1.1.0 -> 1.3.1 ()
| | | +--- androidx.collection:collection:1.1.0 (
)
| | | +--- androidx.viewpager:viewpager:1.0.0
| | | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | | +--- androidx.core:core:1.0.0 -> 1.3.1 ()
| | | | --- androidx.customview:customview:1.0.0
| | | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | | --- androidx.core:core:1.0.0 -> 1.3.1 (
)
| | | +--- androidx.loader:loader:1.0.0
| | | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | | +--- androidx.core:core:1.0.0 -> 1.3.1 ()
| | | | +--- androidx.lifecycle:lifecycle-livedata:2.0.0 -> 2.1.0
| | | | | +--- androidx.arch.core:core-runtime:2.1.0
| | | | | | +--- androidx.annotation:annotation:1.1.0
| | | | | | --- androidx.arch.core:core-common:2.1.0 (
)
| | | | | +--- androidx.lifecycle:lifecycle-livedata-core:2.1.0 -> 2.2.0
| | | | | | +--- androidx.lifecycle:lifecycle-common:2.2.0 ()
| | | | | | +--- androidx.arch.core:core-common:2.1.0 (
)
| | | | | | --- androidx.arch.core:core-runtime:2.1.0 ()
| | | | | --- androidx.arch.core:core-common:2.1.0 (
)
| | | | --- androidx.lifecycle:lifecycle-viewmodel:2.0.0 -> 2.2.0
| | | | --- androidx.annotation:annotation:1.1.0
| | | +--- androidx.activity:activity:1.1.0
| | | | +--- androidx.annotation:annotation:1.1.0
| | | | +--- androidx.core:core:1.1.0 -> 1.3.1 ()
| | | | +--- androidx.lifecycle:lifecycle-runtime:2.2.0 (
)
| | | | +--- androidx.lifecycle:lifecycle-viewmodel:2.2.0 ()
| | | | +--- androidx.savedstate:savedstate:1.0.0
| | | | | +--- androidx.annotation:annotation:1.1.0
| | | | | +--- androidx.arch.core:core-common:2.0.1 -> 2.1.0 (
)
| | | | | --- androidx.lifecycle:lifecycle-common:2.0.0 -> 2.2.0 ()
| | | | --- androidx.lifecycle:lifecycle-viewmodel-savedstate:1.0.0 -> 2.2.0
| | | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | | +--- androidx.savedstate:savedstate:1.0.0 (
)
| | | | +--- androidx.lifecycle:lifecycle-livedata-core:2.2.0 ()
| | | | --- androidx.lifecycle:lifecycle-viewmodel:2.2.0 (
)
| | | +--- androidx.lifecycle:lifecycle-livedata-core:2.2.0 ()
| | | +--- androidx.lifecycle:lifecycle-viewmodel:2.2.0 (
)
| | | --- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.2.0 ()
| | +--- androidx.appcompat:appcompat-resources:1.1.0
| | | +--- androidx.annotation:annotation:1.1.0
| | | +--- androidx.core:core:1.0.1 -> 1.3.1 (
)
| | | +--- androidx.vectordrawable:vectordrawable:1.1.0
| | | | +--- androidx.annotation:annotation:1.1.0
| | | | +--- androidx.core:core:1.1.0 -> 1.3.1 ()
| | | | --- androidx.collection:collection:1.1.0 (
)
| | | +--- androidx.vectordrawable:vectordrawable-animated:1.1.0
| | | | +--- androidx.vectordrawable:vectordrawable:1.1.0 ()
| | | | +--- androidx.interpolator:interpolator:1.0.0
| | | | | --- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | | --- androidx.collection:collection:1.1.0 (
)
| | | --- androidx.collection:collection:1.0.0 -> 1.1.0 ()
| | +--- androidx.drawerlayout:drawerlayout:1.0.0
| | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | +--- androidx.core:core:1.0.0 -> 1.3.1 (
)
| | | --- androidx.customview:customview:1.0.0 ()
| | --- androidx.collection:collection:1.0.0 -> 1.1.0 (
)
| +--- androidx.swiperefreshlayout:swiperefreshlayout:1.0.0 -> 1.1.0
| | +--- androidx.annotation:annotation:1.1.0
| | +--- androidx.core:core:1.1.0 -> 1.3.1 ()
| | --- androidx.interpolator:interpolator:1.0.0 (
)
| +--- com.facebook.fresco:fresco:2.0.0
| | +--- com.facebook.fresco:fbcore:2.0.0
| | +--- com.facebook.fresco:drawee:2.0.0
| | | +--- com.facebook.fresco:fbcore:2.0.0
| | | --- com.facebook.fresco:imagepipeline:2.0.0
| | | +--- com.facebook.fresco:imagepipeline-base:2.0.0
| | | | +--- com.facebook.soloader:soloader:0.6.0 -> 0.9.0
| | | | | +--- com.facebook.soloader:annotation:0.9.0
| | | | | --- com.facebook.soloader:nativeloader:0.9.0
| | | | +--- com.parse.bolts:bolts-tasks:1.4.0
| | | | --- com.facebook.fresco:fbcore:2.0.0
| | | +--- com.facebook.soloader:soloader:0.6.0 -> 0.9.0 ()
| | | +--- com.parse.bolts:bolts-tasks:1.4.0
| | | --- com.facebook.fresco:fbcore:2.0.0
| | +--- com.facebook.fresco:imagepipeline:2.0.0 (
)
| | +--- com.facebook.fresco:nativeimagefilters:2.0.0
| | | +--- com.facebook.fresco:imagepipeline:2.0.0 ()
| | | +--- com.facebook.soloader:soloader:0.6.0 -> 0.9.0 (
)
| | | +--- com.parse.bolts:bolts-tasks:1.4.0
| | | --- com.facebook.fresco:fbcore:2.0.0
| | +--- com.facebook.fresco:nativeimagetranscoder:2.0.0
| | | +--- com.facebook.fresco:imagepipeline-base:2.0.0 ()
| | | +--- com.facebook.soloader:soloader:0.6.0 -> 0.9.0 (
)
| | | +--- com.parse.bolts:bolts-tasks:1.4.0
| | | --- com.facebook.fresco:fbcore:2.0.0
| | --- com.facebook.soloader:soloader:0.6.0 -> 0.9.0 ()
| +--- com.facebook.fresco:imagepipeline-okhttp3:2.0.0
| | +--- com.squareup.okhttp3:okhttp:3.12.1 -> 3.12.12
| | | --- com.squareup.okio:okio:1.15.0 -> 1.17.5
| | +--- com.facebook.fresco:fbcore:2.0.0
| | --- com.facebook.fresco:imagepipeline:2.0.0 (
)
| +--- com.facebook.soloader:soloader:0.9.0 ()
| +--- com.google.code.findbugs:jsr305:3.0.2
| +--- com.squareup.okhttp3:okhttp:3.12.12 (
)
| +--- com.squareup.okhttp3:okhttp-urlconnection:3.12.12
| | --- com.squareup.okhttp3:okhttp:3.12.12 ()
| +--- com.squareup.okio:okio:1.17.5
| --- com.facebook.fbjni:fbjni-java-only:0.0.3
| --- com.facebook.soloader:nativeloader:0.8.0 -> 0.9.0
+--- androidx.swiperefreshlayout:swiperefreshlayout:1.1.0 (
)
+--- org.webkit:android-jsc:+ -> r245459
+--- project :react-native-async-storage_async-storage
| --- com.facebook.react:react-native:+ -> 0.64.2 ()
+--- project :react-native-community_masked-view
| --- com.facebook.react:react-native:+ -> 0.64.2 (
)
+--- project :react-native-picker_picker
| --- com.facebook.react:react-native:+ -> 0.64.2 ()
+--- project :react-native-add-calendar-event
| --- com.facebook.react:react-native:+ -> 0.64.2 (
)
+--- project :react-native-camera
| +--- com.google.android.gms:play-services-mlkit-barcode-scanning:16.2.0
| | +--- com.google.android.datatransport:transport-api:2.2.1 -> 3.0.0
| | | --- androidx.annotation:annotation:1.1.0
| | +--- com.google.android.datatransport:transport-backend-cct:2.3.3 -> 3.0.0
| | | +--- androidx.annotation:annotation:1.1.0
| | | +--- com.google.android.datatransport:transport-api:3.0.0 ()
| | | +--- com.google.android.datatransport:transport-runtime:3.0.0
| | | | +--- androidx.annotation:annotation:1.1.0
| | | | +--- com.google.android.datatransport:transport-api:3.0.0 (
)
| | | | --- javax.inject:javax.inject:1
| | | +--- com.google.firebase:firebase-encoders:17.0.0
| | | | --- androidx.annotation:annotation:1.1.0
| | | --- com.google.firebase:firebase-encoders-json:18.0.0
| | | +--- androidx.annotation:annotation:1.1.0
| | | --- com.google.firebase:firebase-encoders:17.0.0 ()
| | +--- com.google.android.datatransport:transport-runtime:2.2.6 -> 3.0.0 (
)
| | +--- com.google.android.gms:play-services-base:17.6.0
| | | +--- androidx.collection:collection:1.0.0 -> 1.1.0 ()
| | | +--- androidx.core:core:1.2.0 -> 1.3.1 (
)
| | | +--- androidx.fragment:fragment:1.0.0 -> 1.2.1 ()
| | | +--- com.google.android.gms:play-services-basement:17.6.0
| | | | +--- androidx.collection:collection:1.0.0 -> 1.1.0 (
)
| | | | +--- androidx.core:core:1.2.0 -> 1.3.1 ()
| | | | --- androidx.fragment:fragment:1.0.0 -> 1.2.1 (
)
| | | --- com.google.android.gms:play-services-tasks:17.2.1
| | | --- com.google.android.gms:play-services-basement:17.6.0 ()
| | +--- com.google.android.gms:play-services-basement:17.6.0 (
)
| | +--- com.google.android.gms:play-services-tasks:17.2.0 -> 17.2.1 ()
| | +--- com.google.android.odml:image:1.0.0-beta1
| | +--- com.google.firebase:firebase-components:16.1.0 -> 17.0.0
| | | +--- androidx.annotation:annotation:1.1.0
| | | --- com.google.firebase:firebase-annotations:16.0.0
| | +--- com.google.firebase:firebase-encoders:16.1.0 -> 17.0.0 (
)
| | +--- com.google.firebase:firebase-encoders-json:17.1.0 -> 18.0.0 ()
| | +--- com.google.mlkit:common:17.2.0
| | | +--- androidx.core:core:1.0.0 -> 1.3.1 (
)
| | | +--- com.google.android.datatransport:transport-api:2.2.1 -> 3.0.0 ()
| | | +--- com.google.android.datatransport:transport-backend-cct:2.3.3 -> 3.0.0 (
)
| | | +--- com.google.android.datatransport:transport-runtime:2.2.6 -> 3.0.0 ()
| | | +--- com.google.android.gms:play-services-base:17.6.0 (
)
| | | +--- com.google.android.gms:play-services-basement:17.6.0 ()
| | | +--- com.google.android.gms:play-services-tasks:17.2.0 -> 17.2.1 (
)
| | | +--- com.google.firebase:firebase-components:16.1.0 -> 17.0.0 ()
| | | +--- com.google.firebase:firebase-encoders:16.1.0 -> 17.0.0 (
)
| | | --- com.google.firebase:firebase-encoders-json:17.1.0 -> 18.0.0 ()
| | --- com.google.mlkit:vision-common:16.5.0
| | +--- androidx.exifinterface:exifinterface:1.0.0 -> 1.3.2
| | | --- androidx.annotation:annotation:1.1.0
| | +--- com.google.android.datatransport:transport-api:2.2.1 -> 3.0.0 (
)
| | +--- com.google.android.datatransport:transport-backend-cct:2.3.3 -> 3.0.0 ()
| | +--- com.google.android.datatransport:transport-runtime:2.2.6 -> 3.0.0 (
)
| | +--- com.google.android.gms:play-services-base:17.6.0 ()
| | +--- com.google.android.gms:play-services-basement:17.6.0 (
)
| | +--- com.google.android.gms:play-services-tasks:17.2.0 -> 17.2.1 ()
| | +--- com.google.android.odml:image:1.0.0-beta1
| | +--- com.google.firebase:firebase-components:16.1.0 -> 17.0.0 (
)
| | +--- com.google.firebase:firebase-encoders:16.1.0 -> 17.0.0 ()
| | +--- com.google.firebase:firebase-encoders-json:17.1.0 -> 18.0.0 (
)
| | --- com.google.mlkit:common:17.1.1 -> 17.2.0 ()
| +--- com.google.android.gms:play-services-mlkit-face-detection:16.2.0
| | +--- com.google.android.datatransport:transport-api:2.2.1 -> 3.0.0 (
)
| | +--- com.google.android.datatransport:transport-backend-cct:2.3.3 -> 3.0.0 ()
| | +--- com.google.android.datatransport:transport-runtime:2.2.6 -> 3.0.0 (
)
| | +--- com.google.android.gms:play-services-base:17.6.0 ()
| | +--- com.google.android.gms:play-services-basement:17.6.0 (
)
| | +--- com.google.android.gms:play-services-tasks:17.2.0 -> 17.2.1 ()
| | +--- com.google.android.odml:image:1.0.0-beta1
| | +--- com.google.firebase:firebase-components:16.1.0 -> 17.0.0 (
)
| | +--- com.google.firebase:firebase-encoders:16.1.0 -> 17.0.0 ()
| | +--- com.google.firebase:firebase-encoders-json:17.1.0 -> 18.0.0 (
)
| | +--- com.google.mlkit:common:17.1.1 -> 17.2.0 ()
| | --- com.google.mlkit:vision-common:16.5.0 (
)
| +--- com.facebook.react:react-native:+ -> 0.64.2 ()
| +--- com.google.zxing:core:3.3.3
| +--- com.drewnoakes:metadata-extractor:2.11.0
| | --- com.adobe.xmp:xmpcore:5.1.3
| +--- androidx.exifinterface:exifinterface:1.3.2 (
)
| +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| +--- androidx.legacy:legacy-support-v4:1.0.0
| | +--- androidx.core:core:1.0.0 -> 1.3.1 ()
| | +--- androidx.media:media:1.0.0
| | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | +--- androidx.core:core:1.0.0 -> 1.3.1 (
)
| | | --- androidx.versionedparcelable:versionedparcelable:1.0.0 -> 1.1.0 ()
| | +--- androidx.legacy:legacy-support-core-utils:1.0.0
| | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | +--- androidx.core:core:1.0.0 -> 1.3.1 (
)
| | | +--- androidx.documentfile:documentfile:1.0.0
| | | | --- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | +--- androidx.loader:loader:1.0.0 ()
| | | +--- androidx.localbroadcastmanager:localbroadcastmanager:1.0.0
| | | | --- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | --- androidx.print:print:1.0.0
| | | --- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | +--- androidx.legacy:legacy-support-core-ui:1.0.0
| | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | +--- androidx.core:core:1.0.0 -> 1.3.1 (
)
| | | +--- androidx.legacy:legacy-support-core-utils:1.0.0 ()
| | | +--- androidx.customview:customview:1.0.0 (
)
| | | +--- androidx.viewpager:viewpager:1.0.0 ()
| | | +--- androidx.coordinatorlayout:coordinatorlayout:1.0.0 -> 1.1.0
| | | | +--- androidx.annotation:annotation:1.1.0
| | | | +--- androidx.core:core:1.1.0 -> 1.3.1 (
)
| | | | +--- androidx.customview:customview:1.0.0 ()
| | | | --- androidx.collection:collection:1.0.0 -> 1.1.0 (
)
| | | +--- androidx.drawerlayout:drawerlayout:1.0.0 ()
| | | +--- androidx.slidingpanelayout:slidingpanelayout:1.0.0
| | | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | | +--- androidx.core:core:1.0.0 -> 1.3.1 (
)
| | | | --- androidx.customview:customview:1.0.0 ()
| | | +--- androidx.interpolator:interpolator:1.0.0 (
)
| | | +--- androidx.swiperefreshlayout:swiperefreshlayout:1.0.0 -> 1.1.0 ()
| | | +--- androidx.asynclayoutinflater:asynclayoutinflater:1.0.0
| | | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | | --- androidx.core:core:1.0.0 -> 1.3.1 (
)
| | | --- androidx.cursoradapter:cursoradapter:1.0.0 ()
| | --- androidx.fragment:fragment:1.0.0 -> 1.2.1 (
)
| --- com.google.android.gms:play-services-mlkit-text-recognition:16.3.0
| +--- com.google.android.datatransport:transport-api:2.2.1 -> 3.0.0 ()
| +--- com.google.android.datatransport:transport-backend-cct:2.3.3 -> 3.0.0 (
)
| +--- com.google.android.datatransport:transport-runtime:2.2.6 -> 3.0.0 ()
| +--- com.google.android.gms:play-services-base:17.6.0 (
)
| +--- com.google.android.gms:play-services-basement:17.6.0 ()
| +--- com.google.android.gms:play-services-tasks:17.2.0 -> 17.2.1 (
)
| +--- com.google.android.odml:image:1.0.0-beta1
| +--- com.google.firebase:firebase-components:16.1.0 -> 17.0.0 ()
| +--- com.google.firebase:firebase-encoders:16.1.0 -> 17.0.0 (
)
| +--- com.google.firebase:firebase-encoders-json:17.1.0 -> 18.0.0 ()
| +--- com.google.mlkit:common:17.1.1 -> 17.2.0 (
)
| --- com.google.mlkit:vision-common:16.5.0 ()
+--- project :react-native-config
| --- com.facebook.react:react-native:+ -> 0.64.2 (
)
+--- project :react-native-default-preference
| --- com.facebook.react:react-native:+ -> 0.64.2 ()
+--- project :react-native-device-info
| +--- com.facebook.react:react-native:+ -> 0.64.2 (
)
| +--- com.android.installreferrer:installreferrer:1.1.2
| --- com.google.android.gms:play-services-iid:17.0.0
| +--- androidx.collection:collection:1.0.0 -> 1.1.0 ()
| +--- androidx.core:core:1.0.0 -> 1.3.1 (
)
| +--- com.google.android.gms:play-services-base:17.0.0 -> 17.6.0 ()
| +--- com.google.android.gms:play-services-basement:17.0.0 -> 17.6.0 (
)
| +--- com.google.android.gms:play-services-stats:17.0.0
| | +--- androidx.legacy:legacy-support-core-utils:1.0.0 ()
| | --- com.google.android.gms:play-services-basement:17.0.0 -> 17.6.0 (
)
| --- com.google.android.gms:play-services-tasks:17.0.0 -> 17.2.1 ()
+--- project :react-native-exit-app
| --- com.facebook.react:react-native:+ -> 0.64.2 (
)
+--- project :react-native-extra-dimensions-android
| --- com.facebook.react:react-native:+ -> 0.64.2 ()
+--- project :react-native-gesture-handler
| --- com.facebook.react:react-native:+ -> 0.64.2 (
)
+--- project :react-native-image-picker
| +--- com.facebook.react:react-native:+ -> 0.64.2 ()
| +--- androidx.core:core:1.3.1 (
)
| --- androidx.exifinterface:exifinterface:1.3.1 -> 1.3.2 ()
+--- project :react-native-linear-gradient
+--- project :react-native-localize
| --- com.facebook.react:react-native:+ -> 0.64.2 (
)
+--- project :react-native-network-info
| --- com.facebook.react:react-native:+ -> 0.64.2 ()
+--- project :react-native-onesignal
| +--- com.onesignal:OneSignal:4.6.0
| | +--- com.google.firebase:firebase-messaging:[19.0.0, 22.0.99] -> 22.0.0
| | | +--- androidx.collection:collection:1.0.0 -> 1.1.0 (
)
| | | +--- androidx.core:core:1.0.0 -> 1.3.1 ()
| | | +--- com.google.android.datatransport:transport-api:3.0.0 (
)
| | | +--- com.google.android.datatransport:transport-backend-cct:3.0.0 ()
| | | +--- com.google.android.datatransport:transport-runtime:3.0.0 (
)
| | | +--- com.google.android.gms:play-services-basement:17.0.0 -> 17.6.0 ()
| | | +--- com.google.android.gms:play-services-cloud-messaging:16.0.0
| | | | +--- com.google.android.gms:play-services-basement:17.0.0 -> 17.6.0 (
)
| | | | --- com.google.android.gms:play-services-tasks:17.0.0 -> 17.2.1 ()
| | | +--- com.google.android.gms:play-services-stats:17.0.0 (
)
| | | +--- com.google.android.gms:play-services-tasks:17.0.0 -> 17.2.1 ()
| | | +--- com.google.firebase:firebase-common:20.0.0
| | | | +--- com.google.android.gms:play-services-basement:17.0.0 -> 17.6.0 (
)
| | | | +--- com.google.android.gms:play-services-tasks:17.0.0 -> 17.2.1 ()
| | | | --- com.google.firebase:firebase-components:17.0.0 (
)
| | | +--- com.google.firebase:firebase-components:17.0.0 ()
| | | +--- com.google.firebase:firebase-datatransport:18.0.0
| | | | +--- androidx.annotation:annotation:1.1.0
| | | | +--- com.google.android.datatransport:transport-api:3.0.0 (
)
| | | | +--- com.google.android.datatransport:transport-backend-cct:3.0.0 ()
| | | | +--- com.google.android.datatransport:transport-runtime:3.0.0 (
)
| | | | +--- com.google.firebase:firebase-common:20.0.0 ()
| | | | --- com.google.firebase:firebase-components:17.0.0 (
)
| | | +--- com.google.firebase:firebase-iid-interop:17.1.0
| | | | +--- com.google.android.gms:play-services-basement:17.0.0 -> 17.6.0 ()
| | | | --- com.google.android.gms:play-services-tasks:17.0.0 -> 17.2.1 (
)
| | | +--- com.google.firebase:firebase-installations:17.0.0
| | | | +--- com.google.android.gms:play-services-tasks:17.0.0 -> 17.2.1 ()
| | | | +--- com.google.firebase:firebase-common:20.0.0 (
)
| | | | +--- com.google.firebase:firebase-components:17.0.0 ()
| | | | --- com.google.firebase:firebase-installations-interop:17.0.0
| | | | +--- com.google.android.gms:play-services-tasks:17.0.0 -> 17.2.1 (
)
| | | | --- com.google.firebase:firebase-annotations:16.0.0
| | | +--- com.google.firebase:firebase-installations-interop:17.0.0 ()
| | | --- com.google.firebase:firebase-measurement-connector:19.0.0
| | | +--- com.google.android.gms:play-services-basement:17.0.0 -> 17.6.0 (
)
| | | --- com.google.firebase:firebase-annotations:16.0.0
| | +--- androidx.cardview:cardview:[1.0.0, 1.0.99] -> 1.0.0
| | | --- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | +--- androidx.legacy:legacy-support-v4:[1.0.0, 1.0.99] -> 1.0.0 ()
| | +--- androidx.browser:browser:[1.0.0, 1.3.99] -> 1.3.0
| | | +--- androidx.collection:collection:1.1.0 (
)
| | | +--- androidx.concurrent:concurrent-futures:1.0.0 -> 1.1.0
| | | | +--- androidx.annotation:annotation:1.1.0
| | | | --- com.google.guava:listenablefuture:1.0
| | | +--- androidx.interpolator:interpolator:1.0.0 ()
| | | +--- androidx.core:core:1.1.0 -> 1.3.1 (
)
| | | +--- androidx.annotation:annotation:1.1.0
| | | --- com.google.guava:listenablefuture:1.0
| | +--- androidx.appcompat:appcompat:[1.0.0, 1.3.99] -> 1.1.0 ()
| | +--- androidx.work:work-runtime:[2.0.0, 2.5.99] -> 2.5.0
| | | +--- com.google.guava:listenablefuture:1.0
| | | +--- androidx.lifecycle:lifecycle-livedata:2.1.0 (
)
| | | +--- androidx.room:room-runtime:2.2.5
| | | | +--- androidx.room:room-common:2.2.5
| | | | | --- androidx.annotation:annotation:1.1.0
| | | | +--- androidx.sqlite:sqlite-framework:2.0.1 -> 2.1.0
| | | | | +--- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | | | --- androidx.sqlite:sqlite:2.1.0
| | | | | --- androidx.annotation:annotation:1.0.0 -> 1.1.0
| | | | +--- androidx.sqlite:sqlite:2.0.1 -> 2.1.0 ()
| | | | --- androidx.arch.core:core-runtime:2.0.1 -> 2.1.0 (
)
| | | +--- androidx.sqlite:sqlite:2.1.0 ()
| | | +--- androidx.sqlite:sqlite-framework:2.1.0 (
)
| | | +--- androidx.core:core:1.1.0 -> 1.3.1 ()
| | | --- androidx.lifecycle:lifecycle-service:2.1.0
| | | --- androidx.lifecycle:lifecycle-runtime:2.1.0 -> 2.2.0 (
)
| | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.32
| | | --- org.jetbrains.kotlin:kotlin-stdlib:1.4.32
| | | +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4.32
| | | --- org.jetbrains:annotations:13.0
| | +--- com.google.android.gms:play-services-base:[17.0.0, 17.6.99] -> 17.6.0 ()
| | --- androidx.concurrent:concurrent-futures:1.1.0 (
)
| --- com.facebook.react:react-native:+ -> 0.64.2 ()
+--- project :react-native-permissions
| --- com.facebook.react:react-native:+ -> 0.64.2 (
)
+--- project :react-native-reanimated
+--- project :react-native-safe-area-context
| --- com.facebook.react:react-native:+ -> 0.64.2 ()
+--- project :react-native-screens
| +--- com.facebook.react:react-native:+ -> 0.64.2 (
)
| +--- androidx.appcompat:appcompat:1.1.0 ()
| +--- androidx.fragment:fragment:1.2.1 (
)
| +--- androidx.coordinatorlayout:coordinatorlayout:1.1.0 ()
| +--- androidx.swiperefreshlayout:swiperefreshlayout:1.0.0 -> 1.1.0 (
)
| --- com.google.android.material:material:1.1.0
| +--- androidx.annotation:annotation:1.0.1 -> 1.1.0
| +--- androidx.appcompat:appcompat:1.1.0 ()
| +--- androidx.cardview:cardview:1.0.0 (
)
| +--- androidx.coordinatorlayout:coordinatorlayout:1.1.0 ()
| +--- androidx.core:core:1.1.0 -> 1.3.1 (
)
| +--- androidx.fragment:fragment:1.0.0 -> 1.2.1 ()
| +--- androidx.lifecycle:lifecycle-runtime:2.0.0 -> 2.2.0 (
)
| +--- androidx.recyclerview:recyclerview:1.0.0 -> 1.1.0
| | +--- androidx.annotation:annotation:1.1.0
| | +--- androidx.core:core:1.1.0 -> 1.3.1 ()
| | +--- androidx.customview:customview:1.0.0 (
)
| | --- androidx.collection:collection:1.0.0 -> 1.1.0 ()
| +--- androidx.transition:transition:1.2.0
| | +--- androidx.annotation:annotation:1.1.0
| | +--- androidx.core:core:1.0.1 -> 1.3.1 (
)
| | --- androidx.collection:collection:1.0.0 -> 1.1.0 ()
| +--- androidx.vectordrawable:vectordrawable:1.1.0 (
)
| --- androidx.viewpager2:viewpager2:1.0.0
| +--- androidx.annotation:annotation:1.1.0
| +--- androidx.fragment:fragment:1.1.0 -> 1.2.1 ()
| +--- androidx.recyclerview:recyclerview:1.1.0 (
)
| +--- androidx.core:core:1.1.0 -> 1.3.1 ()
| --- androidx.collection:collection:1.1.0 (
)
+--- project :react-native-svg
| --- com.facebook.react:react-native:+ -> 0.64.2 ()
--- project :react-native-vector-icons
--- com.facebook.react:react-native:+ -> 0.64.2 (
)

@jmatlack-rpb
Copy link

jmatlack-rpb commented Oct 30, 2021

We see this same issue in our app, seemingly due to a conflict with Google's barcode scanning library com.google.android.gms:play-services-mlkit-barcode-scanning:17.0.0

Duplicate class com.google.firebase.components.AbstractComponentContainer found in modules firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
...35 similar conflicts

@aZyreTech
Copy link

aZyreTech commented Dec 15, 2021

Any solution?
I am also facing the same issue with one signal and Google's barcode scanning library.

I tried to exclude firebase from one signal and its working.
implementation ('com.onesignal:OneSignal:[4.0.0, 4.99.99]'){
exclude group: 'com.google.firebase' // <=== this
}
implementation 'com.google.mlkit:barcode-scanning:17.0.0'

@dhavallogistic
Copy link

Any solutions?

I am facing the same issue in React native.
I have integrated One signal & vision-camera-code-scanner (which is using google's mlkit scanner) for Barcode scanning.

Tried @aZyreTech solutions, not worked for me.
App crashed at the launch time due to One signal could not register app (firebase missing)

@rafael2412
Copy link

@dhavallogistic or @aZyreTech any solution? I'm facing the same issue with one signal and react-native-camera when i try to enable mlkit.

@dhavallogistic
Copy link

@rafael2412

Yes as workaround I got this and it worked ..

Android: app-build-gradle file

implementation(project(':react-native-camera')) {
        // exclude group: 'com.google.android.gms'
        exclude group: 'com.google.firebase'  // -->> Only exclude this group
    }

// Firebase
implementation 'com.google.firebase:firebase-messaging:22.0.0'  // <= Add latest messaging version of Firebase Messaging

With above code my application is working fine with both Notification functionality and Scan QR and Barcode with MLKit.

@rafael2412
Copy link

@dhavallogistic it's working, I've been working with it for a long time.
Thanks.

@anniewey
Copy link

anniewey commented Mar 8, 2022

I'm getting same error when build with react-native-vision-camera:2.12.1 but couldn't get it to work with above solution. Any idea?

implementation(project(':react-native-vision-camera')) {
exclude group: 'com.google.firebase' // -->> Only exclude this group
}

...
Duplicate class com.google.firebase.components.AbstractComponentContainer found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
Duplicate class com.google.firebase.components.Component found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
Duplicate class com.google.firebase.components.Component$$Lambda$1 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
Duplicate class com.google.firebase.components.Component$$Lambda$2 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
Duplicate class com.google.firebase.components.Component$$Lambda$3 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
...

@jkasten2
Copy link
Member

jkasten2 commented Mar 8, 2022

The root of the issue some versions of firebase-components & firebase-common are not compatible with each other. The recommend way to fix this would be to upgrade the older root dependency that is requesting the older version. So in the case of @GuillermoVA

firebase-messaging is requesting firebase-common:20.0.0

 | +--- com.google.firebase:firebase-messaging:[19.0.0, 22.0.99] -> 22.0.0
....
| | | +--- com.google.firebase:firebase-common:20.0.0

And com.google.android.gms:play-services-mlkit-barcode-scanning:16.2.0 is requesting firebase-components:16.1.0

| +--- com.google.android.gms:play-services-mlkit-barcode-scanning:16.2.0
....
| | +--- com.google.firebase:firebase-components:16.1.0 -> 17.0.0

To fix this I would recommend upgrading play-services-mlkit-barcode-scanning. If there isn't a newer version you can set an older version of firebase-messaging in your project. According to the range above you could go back as far as 19.0.0 for firebase-messaging.

@dhavallogistic
Copy link

I'm getting same error when build with react-native-vision-camera:2.12.1 but couldn't get it to work with above solution. Any idea?

implementation(project(':react-native-vision-camera')) {
exclude group: 'com.google.firebase' // -->> Only exclude this group
}

...
Duplicate class com.google.firebase.components.AbstractComponentContainer found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
Duplicate class com.google.firebase.components.Component found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
Duplicate class com.google.firebase.components.Component$$Lambda$1 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
Duplicate class com.google.firebase.components.Component$$Lambda$2 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
Duplicate class com.google.firebase.components.Component$$Lambda$3 found in modules jetified-firebase-common-18.0.0-runtime (com.google.firebase:firebase-common:18.0.0) and jetified-firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0)
...

Did you use any other Firebase or Google lib in your project?

@anniewey
Copy link

@dhavallogistic just from this library react-native-vision-camera but I already solved it by using firebase bom

 implementation platform('com.google.firebase:firebase-bom:29.1.0')

@dhavallogistic
Copy link

@dhavallogistic just from this library react-native-vision-camera but I already solved it by using firebase bom

 implementation platform('com.google.firebase:firebase-bom:29.1.0')

The reason behind above error is you are importing 2 libs from the same packages with two different approach.
I am not sure for this but try to add firebase-bom package explicitly same like this

// Firebase
implementation 'com.google.firebase:firebase-bom:29.1.0'  // <= Update your latest version here

Remove all other firebase importing for testing.

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants