Skip to content

Commit bc10943

Browse files
authored
chore(example-app): update to Capacitor 8 (#50)
1 parent 630f1fa commit bc10943

File tree

12 files changed

+956
-7357
lines changed

12 files changed

+956
-7357
lines changed

example-app/android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
namespace "com.example.plugin"
5-
compileSdk rootProject.ext.compileSdkVersion
4+
namespace = "com.example.plugin"
5+
compileSdk = rootProject.ext.compileSdkVersion
66
defaultConfig {
77
applicationId "com.example.plugin"
88
minSdkVersion rootProject.ext.minSdkVersion
@@ -13,7 +13,7 @@ android {
1313
aaptOptions {
1414
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
1515
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
16-
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
16+
ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
1717
}
1818
}
1919
buildTypes {

example-app/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
android:theme="@style/AppTheme">
1111

1212
<activity
13-
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|navigation"
13+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|navigation|density"
1414
android:name=".MainActivity"
1515
android:label="@string/title_activity_main"
1616
android:theme="@style/AppTheme.NoActionBarLaunch"

example-app/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.7.2'
11-
classpath 'com.google.gms:google-services:4.4.2'
10+
classpath 'com.android.tools.build:gradle:8.13.0'
11+
classpath 'com.google.gms:google-services:4.4.4'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files
181 Bytes
Binary file not shown.

example-app/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

example-app/android/gradlew

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example-app/android/gradlew.bat

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
ext {
2-
minSdkVersion = 23
3-
compileSdkVersion = 35
4-
targetSdkVersion = 35
5-
androidxActivityVersion = '1.9.2'
6-
androidxAppCompatVersion = '1.7.0'
7-
androidxCoordinatorLayoutVersion = '1.2.0'
8-
androidxCoreVersion = '1.15.0'
9-
androidxFragmentVersion = '1.8.4'
10-
coreSplashScreenVersion = '1.0.1'
11-
androidxWebkitVersion = '1.12.1'
2+
minSdkVersion = 24
3+
compileSdkVersion = 36
4+
targetSdkVersion = 36
5+
androidxActivityVersion = '1.11.0'
6+
androidxAppCompatVersion = '1.7.1'
7+
androidxCoordinatorLayoutVersion = '1.3.0'
8+
androidxCoreVersion = '1.17.0'
9+
androidxFragmentVersion = '1.8.9'
10+
coreSplashScreenVersion = '1.2.0'
11+
androidxWebkitVersion = '1.14.0'
1212
junitVersion = '4.13.2'
13-
androidxJunitVersion = '1.2.1'
14-
androidxEspressoCoreVersion = '3.6.1'
15-
cordovaAndroidVersion = '10.1.1'
13+
androidxJunitVersion = '1.3.0'
14+
androidxEspressoCoreVersion = '3.7.0'
15+
cordovaAndroidVersion = '14.0.1'
1616
}

example-app/ios/App/App.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
284284
GCC_WARN_UNUSED_FUNCTION = YES;
285285
GCC_WARN_UNUSED_VARIABLE = YES;
286-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
286+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
287287
MTL_ENABLE_DEBUG_INFO = YES;
288288
ONLY_ACTIVE_ARCH = YES;
289289
SDKROOT = iphoneos;
@@ -334,7 +334,7 @@
334334
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
335335
GCC_WARN_UNUSED_FUNCTION = YES;
336336
GCC_WARN_UNUSED_VARIABLE = YES;
337-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
337+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
338338
MTL_ENABLE_DEBUG_INFO = NO;
339339
SDKROOT = iphoneos;
340340
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -350,7 +350,7 @@
350350
CODE_SIGN_STYLE = Automatic;
351351
CURRENT_PROJECT_VERSION = 1;
352352
INFOPLIST_FILE = App/Info.plist;
353-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
353+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
354354
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
355355
MARKETING_VERSION = 1.0;
356356
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
@@ -370,7 +370,7 @@
370370
CODE_SIGN_STYLE = Automatic;
371371
CURRENT_PROJECT_VERSION = 1;
372372
INFOPLIST_FILE = App/Info.plist;
373-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
373+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
374374
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
375375
MARKETING_VERSION = 1.0;
376376
PRODUCT_BUNDLE_IDENTIFIER = com.example.plugin;

example-app/ios/App/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
22

3-
platform :ios, '14.0'
3+
platform :ios, '15.0'
44
use_frameworks!
55

66
# workaround to avoid Xcode caching of Pods that requires

0 commit comments

Comments
 (0)