Skip to content

Commit 22c4c4a

Browse files
feat!: Update to Capacitor 7 (#92)
1 parent cd85356 commit 22c4c4a

9 files changed

+1883
-769
lines changed

CapacitorCommunityDatePicker.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
1111
s.author = package['author']
1212
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
1313
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14-
s.ios.deployment_target = '13.0'
14+
s.ios.deployment_target = '14.0'
1515
s.dependency 'Capacitor'
1616
s.swift_version = '5.1'
1717
end

android/build.gradle

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ext {
22
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3-
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
4-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
3+
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.0'
4+
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
5+
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
66
}
77

88
buildscript {
@@ -11,18 +11,18 @@ buildscript {
1111
mavenCentral()
1212
}
1313
dependencies {
14-
classpath 'com.android.tools.build:gradle:8.2.1'
14+
classpath 'com.android.tools.build:gradle:8.7.2'
1515
}
1616
}
1717

1818
apply plugin: 'com.android.library'
1919

2020
android {
2121
namespace "com.getcapacitor.community.datepicker"
22-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
22+
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
2323
defaultConfig {
24-
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
25-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
24+
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
25+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
2626
versionCode 1
2727
versionName "1.0"
2828
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

android/gradle/wrapper/gradle-wrapper.properties

+1-1
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.2.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

ios/Plugin.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
395395
GCC_WARN_UNUSED_FUNCTION = YES;
396396
GCC_WARN_UNUSED_VARIABLE = YES;
397-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
397+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
398398
MTL_ENABLE_DEBUG_INFO = YES;
399399
ONLY_ACTIVE_ARCH = YES;
400400
SDKROOT = iphoneos;
@@ -454,7 +454,7 @@
454454
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
455455
GCC_WARN_UNUSED_FUNCTION = YES;
456456
GCC_WARN_UNUSED_VARIABLE = YES;
457-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
457+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
458458
MTL_ENABLE_DEBUG_INFO = NO;
459459
SDKROOT = iphoneos;
460460
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -477,7 +477,7 @@
477477
DYLIB_INSTALL_NAME_BASE = "@rpath";
478478
INFOPLIST_FILE = Plugin/Info.plist;
479479
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
480-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
480+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
481481
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)";
482482
ONLY_ACTIVE_ARCH = YES;
483483
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;
@@ -503,7 +503,7 @@
503503
DYLIB_INSTALL_NAME_BASE = "@rpath";
504504
INFOPLIST_FILE = Plugin/Info.plist;
505505
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
506-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
506+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
507507
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)";
508508
ONLY_ACTIVE_ARCH = NO;
509509
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;

ios/Podfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :ios, '13.0'
1+
platform :ios, '14.0'
22

33
def capacitor_pods
44
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks

ios/Podfile.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PODS:
2-
- Capacitor (6.0.0):
2+
- Capacitor (7.0.1):
33
- CapacitorCordova
4-
- CapacitorCordova (6.0.0)
4+
- CapacitorCordova (7.0.1)
55

66
DEPENDENCIES:
77
- "Capacitor (from `../node_modules/@capacitor/ios`)"
@@ -14,9 +14,9 @@ EXTERNAL SOURCES:
1414
:path: "../node_modules/@capacitor/ios"
1515

1616
SPEC CHECKSUMS:
17-
Capacitor: 559d073c4ca6c27f8e7002c807eea94c3ba435a9
18-
CapacitorCordova: 8c4bfdf69368512e85b1d8b724dd7546abeb30af
17+
Capacitor: de199cba6c8b20995428ad0b7cb0bc6ca625ffd4
18+
CapacitorCordova: 63d476958d5022d76f197031e8b7ea3519988c64
1919

20-
PODFILE CHECKSUM: 14e8b2400457751b865e1c327e7cfa1c6fa67da6
20+
PODFILE CHECKSUM: 67f8d0d29925a47d3223356b6b7813c3a09347fc
2121

22-
COCOAPODS: 1.14.3
22+
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)