Skip to content

Commit d97587b

Browse files
committed
feat(sdks): firebase-ios-sdk 8.0.0 / firebase-android-sdk 28.0.1
includes bump to android gradle plugin 4.2.1 and associated lint fix includes bumps to all of the google / firebase gradle plugins
1 parent 32e16bd commit d97587b

File tree

9 files changed

+260
-351
lines changed

9 files changed

+260
-351
lines changed

docs/crashlytics/android-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ buildscript {
3838
// ..
3939
dependencies {
4040
// ..
41-
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.2'
41+
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.6.1'
4242
}
4343
// ..
4444
}

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ First, add the `google-services` plugin as a dependency inside of your `/android
6161
buildscript {
6262
dependencies {
6363
// ... other dependencies
64-
classpath 'com.google.gms:google-services:4.3.4'
64+
classpath 'com.google.gms:google-services:4.3.6'
6565
// Add me --- /\
6666
}
6767
}
@@ -193,7 +193,7 @@ project.ext {
193193
// Overriding Library SDK Versions
194194
firebase: [
195195
// Override Firebase SDK Version
196-
bom : "26.6.0"
196+
bom : "28.0.1"
197197
],
198198
],
199199
])
@@ -208,7 +208,7 @@ Open your projects `/ios/Podfile` and add any of the globals shown below to the
208208

209209
```ruby
210210
# Override Firebase SDK Version
211-
$FirebaseSDKVersion = '7.7.0'
211+
$FirebaseSDKVersion = '8.0.0'
212212
```
213213

214214
Once changed, reinstall your projects pods via pod install and rebuild your project with `npx react-native run-ios`.

docs/perf/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Add the plugin to your `/android/build.gradle` file as a dependency:
3636
buildscript {
3737
dependencies {
3838
// ...
39-
classpath 'com.google.firebase:perf-plugin:1.3.5'
39+
classpath 'com.google.firebase:perf-plugin:1.4.0'
4040
}
4141
```
4242

packages/app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@
6262
},
6363
"sdkVersions": {
6464
"ios": {
65-
"firebase": "7.11.0"
65+
"firebase": "8.0.0"
6666
},
6767
"android": {
6868
"minSdk": 16,
6969
"targetSdk": 30,
7070
"compileSdk": 30,
7171
"buildTools": "30.0.2",
72-
"firebase": "26.8.0",
72+
"firebase": "28.0.1",
7373
"playServicesAuth": "19.0.0"
7474
}
7575
}

tests/android/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ buildscript {
3131
mavenCentral()
3232
}
3333
dependencies {
34-
classpath 'com.google.gms:google-services:4.3.5' // https://developers.google.com/android/guides/google-services-plugin
35-
classpath 'com.android.tools.build:gradle:4.1.3'
34+
classpath 'com.google.gms:google-services:4.3.8' // https://developers.google.com/android/guides/google-services-plugin
35+
classpath 'com.android.tools.build:gradle:4.2.1'
3636
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
37-
classpath 'com.google.firebase:perf-plugin:1.3.5'
38-
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.2'
37+
classpath 'com.google.firebase:perf-plugin:1.4.0'
38+
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.6.1'
3939
}
4040
}
4141

tests/android/lint.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<issue id="StringFormatCount" severity="fatal" />
2828
<issue id="StringFormatMatches" severity="fatal" />
2929
<issue id="StringFormatInvalid" severity="fatal" />
30-
<issue id="UnusedResources" severity="fatal" />
30+
<issue id="UnusedResources" severity="ignore" />
3131
<issue id="ViewConstructor" severity="fatal" />
3232
<issue id="ViewHolder" severity="fatal" />
3333
<issue id="ViewTag" severity="fatal" />

tests/ios/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ require 'json'
33
# Settings to test various overrides if desired
44
appPackage = JSON.parse(File.read(File.join('..', '..', 'node_modules', '@react-native-firebase', 'app', 'package.json')))
55
$FirebaseSDKVersion = appPackage['sdkVersions']['ios']['firebase']
6-
#$FirebaseSDKVersion = '7.7.0' # https://firebase.google.com/support/release-notes/ios
6+
#$FirebaseSDKVersion = '8.0.0' # https://firebase.google.com/support/release-notes/ios
77
Pod::UI.puts "react-native-firebase/tests: Using Firebase SDK version '#{$FirebaseSDKVersion}'"
8-
#$RNFirebaseAsStaticFramework = false # toggle this to true (and set 'use_frameworks!' below to test static frameworks)
8+
# $RNFirebaseAsStaticFramework = true # toggle this to true (and set 'use_frameworks!' below to test static frameworks)
99

1010
# Toggle this to true for the no-ad-tracking Analytics subspec. Useful at minimum for Kids category apps.
1111
# See: https://firebase.google.com/support/release-notes/ios#analytics - requires firebase-ios-sdk 7.11.0+
@@ -35,7 +35,7 @@ target 'testing' do
3535
# pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => $FirebaseSDKVersion
3636

3737
# If leveldb auto-inclusion fails and build fails with leveldb symbol conflicts, use this subspec:
38-
pod 'FirebaseFirestore/WithoutLeveldb', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :commit => 'af5c7177c896d69d73acb173c265d7efe8886126'
38+
pod 'FirebaseFirestore/WithoutLeveldb', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => $FirebaseSDKVersion
3939

4040
# Enables Flipper.
4141
#

0 commit comments

Comments
 (0)