Skip to content

Commit

Permalink
Update Android SDK versions for I/O release. (#1569)
Browse files Browse the repository at this point in the history
* Update SDK versions for I/O release.

* Add exported=false to default manifests.

* Change exported to true where needed.
  • Loading branch information
jonsimantov authored May 1, 2024
1 parent 4887fd4 commit de498a6
Show file tree
Hide file tree
Showing 76 changed files with 141 additions and 125 deletions.
6 changes: 3 additions & 3 deletions analytics/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -48,8 +48,8 @@ android {
}

defaultConfig {
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName "1.0"

Expand Down
1 change: 1 addition & 0 deletions analytics/integration_test/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="@string/app_name">
<activity android:name="android.app.NativeActivity"
android:exported="true"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize">
<meta-data android:name="android.app.lib_name"
Expand Down
2 changes: 1 addition & 1 deletion analytics/integration_test/LibraryManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.analytics.testapp.lib" >

<uses-sdk android:minSdkVersion='16'/>
<uses-sdk android:minSdkVersion='21'/>
<application />
</manifest>
6 changes: 3 additions & 3 deletions analytics/integration_test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -55,8 +55,8 @@ android {

defaultConfig {
applicationId 'com.google.android.analytics.testapp'
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName '1.0'
externalNativeBuild.cmake {
Expand Down
2 changes: 1 addition & 1 deletion app/app_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34

sourceSets {
main {
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -48,8 +48,8 @@ android {
}

defaultConfig {
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName "1.0"

Expand Down
2 changes: 1 addition & 1 deletion app/google_api_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34

sourceSets {
main {
Expand Down
1 change: 1 addition & 0 deletions app/integration_test/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="@string/app_name">
<activity android:name="android.app.NativeActivity"
android:exported="true"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize">
<meta-data android:name="android.app.lib_name"
Expand Down
2 changes: 1 addition & 1 deletion app/integration_test/LibraryManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.analytics.testapp.lib" >

<uses-sdk android:minSdkVersion='14'/>
<uses-sdk android:minSdkVersion='21'/>
<application />
</manifest>
6 changes: 3 additions & 3 deletions app/integration_test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -55,8 +55,8 @@ android {

defaultConfig {
applicationId 'com.google.android.analytics.testapp'
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName '1.0'
externalNativeBuild.cmake {
Expand Down
2 changes: 1 addition & 1 deletion app/invites_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34

sourceSets {
main {
Expand Down
2 changes: 1 addition & 1 deletion app/test_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
compileSdkVersion 34

sourceSets {
main {
Expand Down
2 changes: 1 addition & 1 deletion app_check/app_check_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34

sourceSets {
main {
Expand Down
6 changes: 3 additions & 3 deletions app_check/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -48,8 +48,8 @@ android {
}

defaultConfig {
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName "1.0"

Expand Down
1 change: 1 addition & 0 deletions app_check/integration_test/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="@string/app_name">
<activity android:name="android.app.NativeActivity"
android:exported="true"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize">
<meta-data android:name="android.app.lib_name"
Expand Down
2 changes: 1 addition & 1 deletion app_check/integration_test/LibraryManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.firebase.cpp.appcheck.testapp.lib" >

<uses-sdk android:minSdkVersion='14'/>
<uses-sdk android:minSdkVersion='21'/>
<application />
</manifest>
6 changes: 3 additions & 3 deletions app_check/integration_test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -55,8 +55,8 @@ android {

defaultConfig {
applicationId 'com.google.firebase.cpp.appcheck.testapp'
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName '1.0'
externalNativeBuild.cmake {
Expand Down
2 changes: 1 addition & 1 deletion auth/auth_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34

sourceSets {
main {
Expand Down
6 changes: 3 additions & 3 deletions auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -48,8 +48,8 @@ android {
}

defaultConfig {
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName "1.0"

Expand Down
1 change: 1 addition & 0 deletions auth/integration_test/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="@string/app_name">
<activity android:name="android.app.NativeActivity"
android:exported="true"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize">
<meta-data android:name="android.app.lib_name"
Expand Down
2 changes: 1 addition & 1 deletion auth/integration_test/LibraryManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.auth.testapp.lib" >

<uses-sdk android:minSdkVersion='16'/>
<uses-sdk android:minSdkVersion='21'/>
<application />
</manifest>
6 changes: 3 additions & 3 deletions auth/integration_test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -55,8 +55,8 @@ android {

defaultConfig {
applicationId 'com.google.android.auth.testapp'
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName '1.0'
externalNativeBuild.cmake {
Expand Down
6 changes: 3 additions & 3 deletions database/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -48,8 +48,8 @@ android {
}

defaultConfig {
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName "1.0"

Expand Down
2 changes: 1 addition & 1 deletion database/database_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
compileSdkVersion 34

sourceSets {
main {
Expand Down
1 change: 1 addition & 0 deletions database/integration_test/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="@string/app_name">
<activity android:name="android.app.NativeActivity"
android:exported="true"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize">
<meta-data android:name="android.app.lib_name"
Expand Down
2 changes: 1 addition & 1 deletion database/integration_test/LibraryManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.firebase.cpp.database.testapp.lib" >

<uses-sdk android:minSdkVersion='14'/>
<uses-sdk android:minSdkVersion='21'/>
<application />
</manifest>
6 changes: 3 additions & 3 deletions database/integration_test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -55,8 +55,8 @@ android {

defaultConfig {
applicationId 'com.google.firebase.cpp.database.testapp'
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName '1.0'
externalNativeBuild.cmake {
Expand Down
6 changes: 3 additions & 3 deletions dynamic_links/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -48,8 +48,8 @@ android {
}

defaultConfig {
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName "1.0"

Expand Down
1 change: 1 addition & 0 deletions dynamic_links/integration_test/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="@string/app_name">
<activity android:name="android.app.NativeActivity"
android:exported="true"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize">
<meta-data android:name="android.app.lib_name"
Expand Down
2 changes: 1 addition & 1 deletion dynamic_links/integration_test/LibraryManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.dynamiclinks.testapp.lib" >

<uses-sdk android:minSdkVersion='14'/>
<uses-sdk android:minSdkVersion='21'/>
<application />
</manifest>
6 changes: 3 additions & 3 deletions dynamic_links/integration_test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
compileSdkVersion 33
compileSdkVersion 34
ndkPath System.getenv('ANDROID_NDK_HOME')
buildToolsVersion '30.0.2'

Expand All @@ -55,8 +55,8 @@ android {

defaultConfig {
applicationId 'com.google.android.dynamiclinks.testapp'
minSdkVersion 19
targetSdkVersion 28
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName '1.0'
externalNativeBuild.cmake {
Expand Down
Loading

0 comments on commit de498a6

Please sign in to comment.