Skip to content

Commit

Permalink
fix(app, sdks)!: SDK ios 10.21.0 / android / 32.7.2
Browse files Browse the repository at this point in the history
- new google-services gradle plugin 4.4.1
- new app-distribution gradle plugin 4.1.0
- new app-distribution api 16.0.0-beta12

BREAKING CHANGE: firebase-ios-sdk 10.21.0 requires cocoapods 1.12+
in order to support the new Apple-mandated privacy manifests. Please
ensure you are using verson 1.12 or greater of cocoapods
  • Loading branch information
mikehardy committed Feb 25, 2024
1 parent 3c0dc54 commit 9dc48be
Show file tree
Hide file tree
Showing 8 changed files with 148 additions and 148 deletions.
2 changes: 1 addition & 1 deletion docs/app-distribution/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Add the plugin to your `/android/build.gradle` file as a dependency:
buildscript {
dependencies {
// ...
classpath 'com.google.firebase:firebase-appdistribution-gradle:4.0.1'
classpath 'com.google.firebase:firebase-appdistribution-gradle:4.1.0'
}
```

Expand Down
8 changes: 4 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ buildscript {
dependencies {
// ... other dependencies
// NOTE: if you are on react-native 0.71 or below, you must not update
// the google-services plugin past version 4.3.15
classpath 'com.google.gms:google-services:4.4.0'
// the google-services plugin past version 4.3.15 as it requires gradle >= 7.3.0
classpath 'com.google.gms:google-services:4.4.1'
// Add me --- /\
}
}
Expand Down Expand Up @@ -290,7 +290,7 @@ project.ext {
// Overriding Library SDK Versions
firebase: [
// Override Firebase SDK Version
bom : "32.7.1"
bom : "32.7.2"
],
],
])
Expand All @@ -305,7 +305,7 @@ Open your projects `/ios/Podfile` and add any of the globals shown below to the

```ruby
# Override Firebase SDK Version
$FirebaseSDKVersion = '10.20.0'
$FirebaseSDKVersion = '10.21.0'
```

Once changed, reinstall your projects pods via pod install and rebuild your project with `npx react-native run-ios`.
Expand Down
4 changes: 2 additions & 2 deletions packages/app-distribution/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ dependencies {
api appProject
implementation platform("com.google.firebase:firebase-bom:${ReactNative.ext.getVersion("firebase", "bom")}")
// TODO remove the specific version once it is out of beta and participates in bom versioning
implementation 'com.google.firebase:firebase-appdistribution-api:16.0.0-beta11'
implementation 'com.google.firebase:firebase-appdistribution-api:16.0.0-beta12'
// TODO demonstrate how to only include this in certain build variants
// - perhaps have firebase.json name the variants to include, then roll through variants here and only
// add the dependency to variants that match? Or... (PRs welcome...)
// implementation 'com.google.firebase:firebase-appdistribution:16.0.0-beta11'
// implementation 'com.google.firebase:firebase-appdistribution:16.0.0-beta12'
}

ReactNative.shared.applyPackageVersion()
Expand Down
2 changes: 1 addition & 1 deletion packages/app/RNFBApp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
s.social_media_url = 'http://twitter.com/invertaseio'
s.ios.deployment_target = firebase_ios_target
s.macos.deployment_target = firebase_macos_target
s.cocoapods_version = '>= 1.10.2'
s.cocoapods_version = '>= 1.12.0'
s.source_files = "ios/**/*.{h,m}"

# React Native dependencies
Expand Down
6 changes: 3 additions & 3 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,18 @@
},
"sdkVersions": {
"ios": {
"firebase": "10.20.0",
"firebase": "10.21.0",
"iosTarget": "11.0",
"macosTarget": "10.13"
},
"android": {
"minSdk": 19,
"targetSdk": 33,
"compileSdk": 33,
"firebase": "32.7.1",
"firebase": "32.7.2",
"firebaseCrashlyticsGradle": "2.9.9",
"firebasePerfGradle": "1.4.2",
"gmsGoogleServicesGradle": "4.4.0",
"gmsGoogleServicesGradle": "4.4.1",
"playServicesAuth": "20.7.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.google.gms:google-services:4.4.0'
classpath 'com.google.gms:google-services:4.4.1'
classpath("com.android.tools.build:gradle:4.1.0")
// NOTE: Do not place your application dependencies here; they belong
Expand Down
4 changes: 2 additions & 2 deletions tests/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.google.gms:google-services:4.4.0' // https://developers.google.com/android/guides/google-services-plugin
classpath 'com.google.gms:google-services:4.4.1' // https://developers.google.com/android/guides/google-services-plugin
classpath("com.android.tools.build:gradle:8.1.2")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
classpath 'com.google.firebase:perf-plugin:1.4.2'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
classpath 'com.google.firebase:firebase-appdistribution-gradle:4.0.1'
classpath 'com.google.firebase:firebase-appdistribution-gradle:4.1.0'
}
}

Expand Down
Loading

0 comments on commit 9dc48be

Please sign in to comment.