Skip to content

Commit

Permalink
feat(app, android)!: android-sdk 33.0.0 - needs minSdk 21+ (23+ for a…
Browse files Browse the repository at this point in the history
…uth)

BREAKING CHANGE:
- requires minSdk 21+ in general, 23+ for auth module
- requires compileSdk 34+
- app-distribution gradle plugin requires
  - gradle 7.3+
  - android gradle plugin 7+
  - google services plugin 4.3.2+
- crashlytics plugin requires
  - gradle 8+
  - android gradle plugin 8.1+
  - google services plugin 4.4.1+
  • Loading branch information
mikehardy committed May 20, 2024
1 parent d6f62a3 commit f29fecb
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 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.2.0'
classpath 'com.google.firebase:firebase-appdistribution-gradle:5.0.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/crashlytics/android-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildscript {
// ..
dependencies {
// ..
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.0'
}
// ..
}
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,15 +282,15 @@ project.ext {
versions: [
// Overriding Build/Android SDK Versions
android : [
minSdk : 19,
minSdk : 21, // 23+ if using auth module
targetSdk : 33,
compileSdk: 33,
compileSdk: 34,
],
// Overriding Library SDK Versions
firebase: [
// Override Firebase SDK Version
bom : "32.8.1"
bom : "33.0.0"
],
],
])
Expand Down
12 changes: 6 additions & 6 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@
"macosTarget": "10.13"
},
"android": {
"minSdk": 19,
"targetSdk": 33,
"compileSdk": 33,
"firebase": "32.8.1",
"firebaseCrashlyticsGradle": "2.9.9",
"minSdk": 21,
"targetSdk": 34,
"compileSdk": 34,
"firebase": "33.0.0",
"firebaseCrashlyticsGradle": "3.0.0",
"firebasePerfGradle": "1.4.2",
"gmsGoogleServicesGradle": "4.4.1",
"playServicesAuth": "21.0.0"
"playServicesAuth": "21.1.1"
}
}
}
2 changes: 1 addition & 1 deletion packages/auth/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ project.ext {
set('react-native', [
versions: [
android : [
minSdk : jsonMinSdk,
minSdk : 23, // jsonMinSdk, this is temporarily higher than other modules
targetSdk : jsonTargetSdk,
compileSdk: jsonCompileSdk,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.0'
classpath("com.android.tools.build:gradle:4.1.0")
// NOTE: Do not place your application dependencies here; they belong
Expand Down
14 changes: 7 additions & 7 deletions tests/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
ext.buildToolsVersion = "34.0.0"
ext.minSdkVersion = 21
ext.minSdkVersion = 23
ext.compileSdkVersion = 34
ext.targetSdkVersion = 34

Expand All @@ -14,9 +14,9 @@ buildscript {
ext.fragmentVersion = '1.6.1' // https://developer.android.com/jetpack/androidx/releases/fragment
ext.vectordrawableVersion = '1.1.0' // https://developer.android.com/jetpack/androidx/releases/vectordrawable
ext.androidxAnnotationVersion = '1.7.1' // https://developer.android.com/jetpack/androidx/releases/annotation
ext.googlePlayServicesLocationVersion = '21.1.0' // https://developers.google.com/android/guides/setup
ext.googlePlayServicesVersion = '18.3.0' // play-services-base
ext.googlePlayServicesAuthVersion = '20.7.0' // play-services-auth
ext.googlePlayServicesLocationVersion = '21.2.0' // https://developers.google.com/android/guides/setup
ext.googlePlayServicesVersion = '18.4.0' // play-services-base
ext.googlePlayServicesAuthVersion = '21.1.1' // play-services-auth
ext.googlePlayServicesVisionVersion = '20.1.3' // play-services-vision
ext.googlePlayServicesIidVersion = '17.0.0' // play-services-iid - deprecated, device-info only
ext.mediaCompatVersion = '1.7.0' // https://developer.android.com/jetpack/androidx/releases/media
Expand All @@ -32,12 +32,12 @@ buildscript {
}
dependencies {
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.2.2")
classpath("com.android.tools.build:gradle:8.4.0")
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.2.0'
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.0'
classpath 'com.google.firebase:firebase-appdistribution-gradle:5.0.0'
}
}

Expand Down

0 comments on commit f29fecb

Please sign in to comment.