Skip to content

Commit cd4c3c5

Browse files
committed
feat(android): target Android API level 34
1. Update target API level for Android - Update the app to target Android 14 (API level 34) to meet Google Play's target API level requirements - Upgrade Capacitor to v6 to set Android Target SDK 34 - Update the code to resolve type hint errors
1 parent 4d54265 commit cd4c3c5

File tree

12 files changed

+392
-197
lines changed

12 files changed

+392
-197
lines changed

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
22

33
android {
44
namespace "io.numbersprotocol.capturelite"
5-
compileSdkVersion rootProject.ext.compileSdkVersion
5+
compileSdk rootProject.ext.compileSdkVersion
66
defaultConfig {
77
applicationId "io.numbersprotocol.capturelite"
88
minSdkVersion rootProject.ext.minSdkVersion

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ buildscript {
77
mavenCentral()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:8.0.2'
11-
classpath 'com.google.gms:google-services:4.3.15'
10+
classpath 'com.android.tools.build:gradle:8.5.1'
11+
classpath 'com.google.gms:google-services:4.4.0'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Sun Jun 25 16:40:42 CST 2023
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

android/variables.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
ext {
22
minSdkVersion = 28
3-
compileSdkVersion = 34
4-
targetSdkVersion = 33
5-
androidxActivityVersion = '1.7.0'
3+
compileSdkVersion = 35
4+
targetSdkVersion = 34
5+
androidxActivityVersion = '1.8.0'
66
androidxAppCompatVersion = '1.6.1'
77
androidxCoordinatorLayoutVersion = '1.2.0'
8-
androidxCoreVersion = '1.10.0'
9-
androidxFragmentVersion = '1.5.6'
10-
coreSplashScreenVersion = '1.0.0'
11-
androidxWebkitVersion = '1.6.1'
8+
androidxCoreVersion = '1.12.0'
9+
androidxFragmentVersion = '1.6.2'
10+
coreSplashScreenVersion = '1.0.1'
11+
androidxWebkitVersion = '1.9.0'
1212
junitVersion = '4.13.2'
1313
androidxJunitVersion = '1.1.5'
1414
androidxEspressoCoreVersion = '3.5.1'

ios/App/App/Info.plist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
<string>Uses Bluetooth to connect and interact with GoPro Camera</string>
4545
<key>NSCameraUsageDescription</key>
4646
<string>Grant camera permission to allow the app to take images and videos of the unique moments that you want to keep.</string>
47-
<key>NSLocationAlwaysUsageDescription</key>
48-
<string>Always grant GPS permission to allow the app to append location information to your photo automatically so that you or anyone who you share the photo with will know where the photo is taken.</string>
4947
<key>NSLocationWhenInUseUsageDescription</key>
5048
<string>Grant GPS permission when the app is in use to allow the app to append location information to your photo automatically so that you or anyone who you share the photo with will know where the photo is taken.</string>
5149
<key>NSMicrophoneUsageDescription</key>

0 commit comments

Comments
 (0)