Skip to content

Commit 6aa288f

Browse files
update capacitor
1 parent 221e601 commit 6aa288f

File tree

7 files changed

+210
-176
lines changed

7 files changed

+210
-176
lines changed

demos/example-capacitor/android/app/capacitor.build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
android {
44
compileOptions {
5-
sourceCompatibility JavaVersion.VERSION_17
6-
targetCompatibility JavaVersion.VERSION_17
5+
sourceCompatibility JavaVersion.VERSION_21
6+
targetCompatibility JavaVersion.VERSION_21
77
}
88
}
99

demos/example-capacitor/ios/App/App.xcodeproj/project.pbxproj

Lines changed: 8 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 = 14.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 = 14.0;
338338
MTL_ENABLE_DEBUG_INFO = NO;
339339
SDKROOT = iphoneos;
340340
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -349,12 +349,13 @@
349349
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
350350
CODE_SIGN_STYLE = Automatic;
351351
CURRENT_PROJECT_VERSION = 1;
352+
DEVELOPMENT_TEAM = ZGT7463CVJ;
352353
INFOPLIST_FILE = App/Info.plist;
353-
IPHONEOS_DEPLOYMENT_TARGET = 13;
354+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
354355
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
355356
MARKETING_VERSION = 1.0;
356357
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
357-
PRODUCT_BUNDLE_IDENTIFIER = com.powersync.example;
358+
PRODUCT_BUNDLE_IDENTIFIER = com.powersync.capacitor;
358359
PRODUCT_NAME = "$(TARGET_NAME)";
359360
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
360361
SWIFT_VERSION = 5.0;
@@ -369,11 +370,12 @@
369370
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
370371
CODE_SIGN_STYLE = Automatic;
371372
CURRENT_PROJECT_VERSION = 1;
373+
DEVELOPMENT_TEAM = ZGT7463CVJ;
372374
INFOPLIST_FILE = App/Info.plist;
373-
IPHONEOS_DEPLOYMENT_TARGET = 13;
375+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
374376
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
375377
MARKETING_VERSION = 1.0;
376-
PRODUCT_BUNDLE_IDENTIFIER = com.powersync.example;
378+
PRODUCT_BUNDLE_IDENTIFIER = com.powersync.capacitor;
377379
PRODUCT_NAME = "$(TARGET_NAME)";
378380
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
379381
SWIFT_VERSION = 5.0;
Lines changed: 46 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,49 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict>
5-
<key>CFBundleDevelopmentRegion</key>
6-
<string>en</string>
7-
<key>CFBundleDisplayName</key>
8-
<string>powersync-capacitor</string>
9-
<key>CFBundleExecutable</key>
10-
<string>$(EXECUTABLE_NAME)</string>
11-
<key>CFBundleIdentifier</key>
12-
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13-
<key>CFBundleInfoDictionaryVersion</key>
14-
<string>6.0</string>
15-
<key>CFBundleName</key>
16-
<string>$(PRODUCT_NAME)</string>
17-
<key>CFBundlePackageType</key>
18-
<string>APPL</string>
19-
<key>CFBundleShortVersionString</key>
20-
<string>$(MARKETING_VERSION)</string>
21-
<key>CFBundleVersion</key>
22-
<string>$(CURRENT_PROJECT_VERSION)</string>
23-
<key>LSRequiresIPhoneOS</key>
24-
<true />
25-
<key>UILaunchStoryboardName</key>
26-
<string>LaunchScreen</string>
27-
<key>UIMainStoryboardFile</key>
28-
<string>Main</string>
29-
<key>UIRequiredDeviceCapabilities</key>
30-
<array>
31-
<string>armv7</string>
32-
</array>
33-
<key>UISupportedInterfaceOrientations</key>
34-
<array>
35-
<string>UIInterfaceOrientationPortrait</string>
36-
<string>UIInterfaceOrientationLandscapeLeft</string>
37-
<string>UIInterfaceOrientationLandscapeRight</string>
38-
</array>
39-
<key>UISupportedInterfaceOrientations~ipad</key>
40-
<array>
41-
<string>UIInterfaceOrientationPortrait</string>
42-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
43-
<string>UIInterfaceOrientationLandscapeLeft</string>
44-
<string>UIInterfaceOrientationLandscapeRight</string>
45-
</array>
46-
<key>UIViewControllerBasedStatusBarAppearance</key>
47-
<true />
48-
<key>NSDocumentsFolderUsageDescription</key>
49-
<string>This app needs access to documents folder to save files</string>
50-
<key>NSFileProviderDomainUsageDescription</key>
51-
<string>This app needs access to manage files</string>
52-
</dict>
53-
</plist>
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>powersync-capacitor</string>
9+
<key>CFBundleExecutable</key>
10+
<string>$(EXECUTABLE_NAME)</string>
11+
<key>CFBundleIdentifier</key>
12+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>$(PRODUCT_NAME)</string>
17+
<key>CFBundlePackageType</key>
18+
<string>APPL</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>$(MARKETING_VERSION)</string>
21+
<key>CFBundleVersion</key>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>LSRequiresIPhoneOS</key>
24+
<true/>
25+
<key>UILaunchStoryboardName</key>
26+
<string>LaunchScreen</string>
27+
<key>UIMainStoryboardFile</key>
28+
<string>Main</string>
29+
<key>UIRequiredDeviceCapabilities</key>
30+
<array>
31+
<string>armv7</string>
32+
</array>
33+
<key>UISupportedInterfaceOrientations</key>
34+
<array>
35+
<string>UIInterfaceOrientationPortrait</string>
36+
<string>UIInterfaceOrientationLandscapeLeft</string>
37+
<string>UIInterfaceOrientationLandscapeRight</string>
38+
</array>
39+
<key>UISupportedInterfaceOrientations~ipad</key>
40+
<array>
41+
<string>UIInterfaceOrientationPortrait</string>
42+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
43+
<string>UIInterfaceOrientationLandscapeLeft</string>
44+
<string>UIInterfaceOrientationLandscapeRight</string>
45+
</array>
46+
<key>UIViewControllerBasedStatusBarAppearance</key>
47+
<true/>
48+
</dict>
49+
</plist>

demos/example-capacitor/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, '13.0'
3+
platform :ios, '14.0'
44
use_frameworks!
55

66
# workaround to avoid Xcode caching of Pods that requires
Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
PODS:
2-
- Capacitor (6.2.1):
2+
- Capacitor (7.4.3):
33
- CapacitorCordova
4-
- CapacitorCordova (6.2.1)
5-
- CapacitorFilesystem (6.0.3):
4+
- CapacitorCordova (7.4.3)
5+
- CapacitorFilesystem (7.1.4):
66
- Capacitor
7-
- CapacitorShare (6.0.3):
7+
- IONFilesystemLib (~> 1.0.1)
8+
- CapacitorShare (7.0.2):
89
- Capacitor
910
- CapacitorSplashScreen (7.0.2):
1011
- Capacitor
12+
- IONFilesystemLib (1.0.1)
1113

1214
DEPENDENCIES:
1315
- "Capacitor (from `../../../../node_modules/@capacitor/ios`)"
@@ -16,6 +18,10 @@ DEPENDENCIES:
1618
- "CapacitorShare (from `../../../../node_modules/@capacitor/share`)"
1719
- "CapacitorSplashScreen (from `../../../../node_modules/@capacitor/splash-screen`)"
1820

21+
SPEC REPOS:
22+
trunk:
23+
- IONFilesystemLib
24+
1925
EXTERNAL SOURCES:
2026
Capacitor:
2127
:path: "../../../../node_modules/@capacitor/ios"
@@ -29,12 +35,13 @@ EXTERNAL SOURCES:
2935
:path: "../../../../node_modules/@capacitor/splash-screen"
3036

3137
SPEC CHECKSUMS:
32-
Capacitor: 1e0d0e7330dea9f983b50da737d8918abcf273f8
33-
CapacitorCordova: 8d93e14982f440181be7304aa9559ca631d77fff
34-
CapacitorFilesystem: fa3099b3c3aa43a1b51362d0c999301ab1a9a752
35-
CapacitorShare: 7af6ca761ce62030e8e9fbd2eb82416f5ceced38
38+
Capacitor: b4741ca7affb32c1b70debd03df92cbf522d8a80
39+
CapacitorCordova: 435121e81a2df4d0034f0fb11fcefab5104cfdb5
40+
CapacitorFilesystem: ac0a386949ed6c295a3dffa129ecd26b881ae5be
41+
CapacitorShare: 051c3ceee0ddf3bb54574851a622bbb317eed5bd
3642
CapacitorSplashScreen: 8d6c8cb0542a8e81585c593815db8785ed8ce454
43+
IONFilesystemLib: 89258b8e3e85465da93127d25d7ce37f977e8a6f
3744

38-
PODFILE CHECKSUM: c1703336f990a4728e25eafbdd9992a7afc2008e
45+
PODFILE CHECKSUM: fbd8888dbdcba79e24ab532c719332d64cd3a89f
3946

4047
COCOAPODS: 1.16.2

demos/example-capacitor/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
"preview": "vite preview"
2020
},
2121
"dependencies": {
22-
"@capacitor/android": "^6.0.0",
22+
"@capacitor/android": "^7.4.3",
2323
"@capacitor/core": "latest",
24-
"@capacitor/filesystem": "^6.0.0",
25-
"@capacitor/ios": "^6.0.0",
26-
"@capacitor/share": "^6.0.0",
24+
"@capacitor/filesystem": "^7.1.4",
25+
"@capacitor/ios": "^7.4.3",
26+
"@capacitor/share": "^7.0.2",
2727
"@capacitor/splash-screen": "latest",
2828
"@journeyapps/wa-sqlite": "^1.2.0",
2929
"@mui/icons-material": "^7.3.1",
@@ -36,7 +36,7 @@
3636
"react-window": "^1.8.11"
3737
},
3838
"devDependencies": {
39-
"@capacitor/cli": "^6.0.0",
39+
"@capacitor/cli": "^7.4.3",
4040
"@swc/core": "~1.6.0",
4141
"@types/node": "^20.12.12",
4242
"@types/react": "^18.3.2",

0 commit comments

Comments
 (0)