Skip to content

Commit 695a52e

Browse files
authored
chore: update to capacitor 8 (#10)
1 parent 33cd3e3 commit 695a52e

File tree

14 files changed

+378
-306
lines changed

14 files changed

+378
-306
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.11.1
1+
22.22.0

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ This plugin has been primarity implemented to enhance other plugins which requir
4444
- support setting coordinates to image files
4545
- supports Android and iOS platforms
4646

47-
**NOTE**: The plugin version 7.0.0 is compatible with Capacitor 7
47+
**NOTE**: The plugin version 8.0.0 is compatible with Capacitor 8
4848

4949
## Plugin versions
5050

5151
| Capacitor version | Plugin version |
5252
| ----------------- | -------------- |
53+
| 8.x | 8.x |
5354
| 7.x | 7.x |
5455
| 6.x | 6.x |
5556

example-app/android/app/build.gradle

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

33
android {
4-
namespace "ryltsov.alex.exif.demo"
5-
compileSdk rootProject.ext.compileSdkVersion
4+
namespace = "ryltsov.alex.exif.demo"
5+
compileSdk = rootProject.ext.compileSdkVersion
66
defaultConfig {
7-
applicationId "ryltsov.alex.exif.demo"
8-
minSdkVersion rootProject.ext.minSdkVersion
9-
targetSdkVersion rootProject.ext.targetSdkVersion
10-
versionCode 700001
11-
versionName "7.0.0"
12-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
7+
applicationId = "ryltsov.alex.exif.demo"
8+
minSdk = rootProject.ext.minSdkVersion
9+
targetSdk = rootProject.ext.targetSdkVersion
10+
versionCode = 800001
11+
versionName = "8.0.0"
12+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
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 {
2020
release {
21-
minifyEnabled false
21+
minifyEnabled = false
2222
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2323
}
2424
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
tools:replace="android:allowBackup">
1414

1515
<activity
16-
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
16+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|density"
1717
android:name=".MainActivity"
1818
android:label="@string/title_activity_main"
1919
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.3'
11-
classpath 'com.google.gms:google-services:4.4.0'
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

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.9-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
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
ext {
2-
minSdkVersion = 26
3-
compileSdkVersion = 34
4-
targetSdkVersion = 34
5-
androidxActivityVersion = '1.8.0'
6-
androidxAppCompatVersion = '1.6.1'
7-
androidxCoordinatorLayoutVersion = '1.2.0'
8-
androidxCoreVersion = '1.12.0'
9-
androidxFragmentVersion = '1.6.2'
10-
coreSplashScreenVersion = '1.0.1'
11-
androidxWebkitVersion = '1.9.0'
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.1.5'
14-
androidxEspressoCoreVersion = '3.5.1'
15-
cordovaAndroidVersion = '10.1.1'
16-
androidxExifInterfaceVersion='1.3.7'
17-
androidxMaterialVersion='1.8.0'
13+
androidxJunitVersion = '1.3.0'
14+
androidxEspressoCoreVersion = '3.7.0'
15+
cordovaAndroidVersion = '14.0.1'
16+
androidxExifInterfaceVersion = '1.4.1'
17+
androidxMaterialVersion = '1.13.0'
1818
}

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

Lines changed: 6 additions & 6 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 = 13.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 = 13.0;
337+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
338338
MTL_ENABLE_DEBUG_INFO = NO;
339339
SDKROOT = iphoneos;
340340
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -351,9 +351,9 @@
351351
CURRENT_PROJECT_VERSION = 1;
352352
DEVELOPMENT_TEAM = 9XFYDGX5DN;
353353
INFOPLIST_FILE = App/Info.plist;
354-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
354+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
355355
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
356-
MARKETING_VERSION = 7.0.0;
356+
MARKETING_VERSION = 8.0.0;
357357
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
358358
PRODUCT_BUNDLE_IDENTIFIER = ryltsov.alex.exif.demo;
359359
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -372,9 +372,9 @@
372372
CURRENT_PROJECT_VERSION = 1;
373373
DEVELOPMENT_TEAM = 9XFYDGX5DN;
374374
INFOPLIST_FILE = App/Info.plist;
375-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
375+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
376376
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
377-
MARKETING_VERSION = 7.0.0;
377+
MARKETING_VERSION = 8.0.0;
378378
PRODUCT_BUNDLE_IDENTIFIER = ryltsov.alex.exif.demo;
379379
PRODUCT_NAME = "$(TARGET_NAME)";
380380
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";

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)