title: Version conflict between gms:play-services-vision and firebase
body: <p>I've installed both react-native-firebase and react-native-camera. The camera was fine when play-services -vision was stuck at <code>12.0.1</code>, but I just ran into this error (<strong>Error updating property googleVisionBarcodeDetectorEnable</strong>)  <a href="https://github.com/react-native-community/react-native-camera/issues/1844" rel="noreferrer">https://github.com/react-native-community/react-native-camera/issues/1844</a> that requires an upgrade to <code>15.0.2</code>.</p>
  
  <p>It looks like there are Google Play Services and Firebase conflicts when <code>play-services-vision</code> is bumped up to <code>15.0.2</code> from <code>12.0.1</code>:</p>
  
  <pre><code>Dependency failing: com.google.android.gms:play-services-flags:15.0.1 -&gt; com.google.android.gms:play-services-basement@[
    15.0.1], but play-services-basement version was 16.0.1.
  
    The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
    ifact with the issue.
    -- Project 'app' depends onto com.google.firebase:firebase-messaging@17.3.4
    -- Project 'app' depends onto com.google.android.gms:play-services-base@16.0.1
    -- Project 'app' depends onto com.google.firebase:firebase-core@16.0.6
    -- Project 'app' depends onto com.google.android.gms:play-services-vision@15.0.2
  </code></pre>
  
  <p>I've tried <code>com.google.android.gms:play-services-vision@16.2.0</code> but it gave me <code>exceed 64k methods</code> error. 
  Bumping up to 17.0.2 would cause a version conflict from <code>com.google.android.gms:play-services-basement</code>. </p>
  
  <p>Anyone using both react-native-firebase and react-native camera? Can you tell me how to solve this version conflict problem?</p>
  
  <p>Here is the dependencies in android/app/build.gradle</p>
  
  <pre><code>dependencies {
  
      implementation (project(':react-native-camera')) {
        exclude group: "com.google.android.gms"
        implementation "com.android.support:exifinterface:${rootProject.ext.supportLibVersion}"
        implementation ('com.google.android.gms:play-services-vision:12.0.1') {
          force = true
        }
      }
      implementation project(':react-native-gesture-handler')
      implementation project(':react-native-webview')
      implementation project(':react-native-fast-image')
      implementation project(':react-native-google-signin')
      implementation project(':react-native-firebase')
      implementation 'com.google.firebase:firebase-core:16.0.6'
      implementation ('com.google.android.gms:play-services-base:16.0.1')
      implementation 'com.google.firebase:firebase-messaging:17.3.4'
      implementation('com.crashlytics.sdk.android:crashlytics:2.9.5@aar') {
          transitive = true
      }
      implementation(project(':react-native-google-signin')) {
          exclude group: "com.google.android.gms" // very important
      }
      implementation fileTree(include: ['*.jar'], dir: 'libs')
      implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
      implementation 'com.facebook.react:react-native:+'
      implementation project(':react-native-sqlite-storage')
      implementation 'me.leolin:ShortcutBadger:1.1.21@aar'
      implementation 'com.facebook.fresco:animated-gif:1.10.0'
  }
  </code></pre>
  
  <p>Ext in android/build.gradle</p>
  
  <pre><code>ext {
      buildToolsVersion = "28.0.3"
      minSdkVersion = 19
      compileSdkVersion = 28
      targetSdkVersion = 28
      supportLibVersion = "27.1.1"
  }
  </code></pre>
  
  <p>Package:</p>
  
  <pre><code>"react-native-camera": "^1.6.4",
  "react-native-firebase": "^5.1.1",
  </code></pre>