@@ -3130,17 +3130,16 @@ function writePodFile(result) {
31303130// The MLVision pod requires a minimum of iOS 9, otherwise the build will fail 
31313131( isPresent ( result . ml_kit )  ? ``  : `#` )  +  `platform :ios, '9.0' 
31323132
3133- pod 'Firebase/Core', '~> 5.12.0' 
3134- pod 'GoogleAppMeasurement', '5.3' # temp fix for https://github.com/firebase/firebase-ios-sdk/issues/2151 (remove when bumping 'Firebase/Core') 
3133+ pod 'Firebase/Core', '~> 5.15.0' 
31353134
31363135# Authentication 
31373136`  +  ( ! isPresent ( result . authentication )  ||  isSelected ( result . authentication )  ? ``  : `#` )  +  `pod 'Firebase/Auth' 
31383137
31393138# Realtime DB 
31403139`  +  ( ! isPresent ( result . realtimedb )  ||  isSelected ( result . realtimedb )  ? ``  : `#` )  +  `pod 'Firebase/Database' 
31413140
3142- # Cloud Firestore 
3143- `  +  ( isSelected ( result . firestore )  ? ``  : `#` )  +  `pod 'Firebase/Firestore ' 
3141+ # Cloud Firestore (sticking to 0.14 for now because of build error - see https://github.com/firebase/firebase-ios-sdk/issues/2177)  
3142+ `  +  ( isSelected ( result . firestore )  ? ``  : `#` )  +  `pod 'FirebaseFirestore', '~> 0.14.0 ' 
31443143
31453144# Remote Config 
31463145`  +  ( isSelected ( result . remote_config )  ? ``  : `#` )  +  `pod 'Firebase/RemoteConfig' 
@@ -3466,6 +3465,11 @@ android {
34663465            dimension "fireb" 
34673466        } 
34683467    } 
3468+ 
3469+     // (possibly-temporary) workaround for https://stackoverflow.com/questions/52518378/more-than-one-file-was-found-with-os-independent-path-meta-inf-proguard-android 
3470+     packagingOptions { 
3471+         exclude 'META-INF/proguard/androidx-annotations.pro' 
3472+     } 
34693473} 
34703474
34713475repositories { 
@@ -3491,46 +3495,48 @@ dependencies {
34913495    compile "com.android.support:support-compat:$supportVersion" 
34923496
34933497    // make sure you have these versions by updating your local Android SDK's (Android Support repo and Google repo) 
3494-     compile "com.google.firebase:firebase-core:16.0.4" 
3498+     compile "com.google.firebase:firebase-core:16.0.6" 
3499+ 
3500+     // compile "com.google.firebase:firebase-analytics:16.0.6" 
34953501
34963502    // for reading google-services.json and configuration 
34973503    compile "com.google.android.gms:play-services-base:$googlePlayServicesVersion" 
34983504
34993505    // Authentication 
3500-     `  +  ( ! externalPushClientOnly  &&  ( ! isPresent ( result . authentication )  ||  isSelected ( result . authentication ) )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-auth:16.0.5 " 
3506+     `  +  ( ! externalPushClientOnly  &&  ( ! isPresent ( result . authentication )  ||  isSelected ( result . authentication ) )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-auth:16.1.0 " 
35013507
35023508    // Realtime DB 
3503-     `  +  ( ! externalPushClientOnly  &&  ( ! isPresent ( result . realtimedb )  ||  isSelected ( result . realtimedb ) )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-database:16.0.4 " 
3509+     `  +  ( ! externalPushClientOnly  &&  ( ! isPresent ( result . realtimedb )  ||  isSelected ( result . realtimedb ) )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-database:16.0.5 " 
35043510
35053511    // Cloud Firestore 
3506-     `  +  ( isSelected ( result . firestore )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-firestore:17.1.2 " 
3512+     `  +  ( isSelected ( result . firestore )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-firestore:17.1.5 " 
35073513
35083514    // Remote Config 
3509-     `  +  ( isSelected ( result . remote_config )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-config:16.1.0 " 
3515+     `  +  ( isSelected ( result . remote_config )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-config:16.1.2 " 
35103516
35113517    // Performance Monitoring 
3512-     `  +  ( isSelected ( result . performance_monitoring )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-perf:16.2.0 " 
3518+     `  +  ( isSelected ( result . performance_monitoring )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-perf:16.2.3 " 
35133519
35143520    // Crash Reporting 
35153521    `  +  ( isSelected ( result . crash_reporting )  &&  ! isSelected ( result . crashlytics )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-crash:16.2.1" 
35163522
35173523    // Crashlytics 
3518-     `  +  ( isSelected ( result . crashlytics )  ? ``  : `//` )  +  ` compile "com.crashlytics.sdk.android:crashlytics:2.9.6 " 
3524+     `  +  ( isSelected ( result . crashlytics )  ? ``  : `//` )  +  ` compile "com.crashlytics.sdk.android:crashlytics:2.9.7 " 
35193525
3520-     // Firebase  Cloud Messaging (FCM) 
3526+     // Cloud Messaging (FCM) 
35213527    `  +  ( isSelected ( result . messaging )  ||  externalPushClientOnly  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-messaging:17.3.4" 
35223528
35233529    // Cloud Storage 
3524-     `  +  ( isSelected ( result . storage )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-storage:16.0.3 " 
3530+     `  +  ( isSelected ( result . storage )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-storage:16.0.5 " 
35253531
35263532    // Cloud Functions 
3527-     `  +  ( isSelected ( result . functions )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-functions:16.1.2 " 
3533+     `  +  ( isSelected ( result . functions )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-functions:16.1.3 " 
35283534
35293535    // AdMob / Ads 
3530-     `  +  ( isSelected ( result . admob )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-ads:17.0.0 " 
3536+     `  +  ( isSelected ( result . admob )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-ads:17.1.2 " 
35313537
35323538    // ML Kit 
3533-     `  +  ( isSelected ( result . ml_kit )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-ml-vision:18.0.1 " 
3539+     `  +  ( isSelected ( result . ml_kit )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-ml-vision:18.0.2 " 
35343540    `  +  ( isSelected ( result . ml_kit_image_labeling )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-ml-vision-image-label-model:17.0.2" 
35353541
35363542    // Facebook Authentication 
@@ -3539,11 +3545,11 @@ dependencies {
35393545    // Google Sign-In Authentication 
35403546    `  +  ( isSelected ( result . google_auth )  ? ``  : `//` )  +  ` compile "com.google.android.gms:play-services-auth:16.0.0" 
35413547
3542-     // Firebase  Invites 
3543-     `  +  ( isSelected ( result . invites )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-invites:16.0.4 " 
3548+     // Invites 
3549+     `  +  ( isSelected ( result . invites )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-invites:16.0.6 " 
35443550
3545-     // Firebase  Dynamic Links 
3546-     `  +  ( isSelected ( result . dynamic_links )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-dynamic-links:16.1.2 " // BEWARE: 16.1.2 is fine, but 16.1.3 results in a build error 
3551+     // Dynamic Links 
3552+     `  +  ( isSelected ( result . dynamic_links )  ? ``  : `//` )  +  ` compile "com.google.firebase:firebase-dynamic-links:16.1.5 " // BEWARE: 16.1.2 is fine, but 16.1.3 results in a build error 
35473553} 
35483554
35493555apply plugin: "com.google.gms.google-services" 
0 commit comments