@capacitor/ios 8.0.0-nightly-20251205T150637.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -367,6 +367,12 @@ var nativeBridge = (function (exports) {
|
|
|
367
367
|
}
|
|
368
368
|
};
|
|
369
369
|
const platform = getPlatformId(win);
|
|
370
|
+
if (platform == 'android' && typeof win.CapacitorSystemBarsAndroidInterface !== 'undefined') {
|
|
371
|
+
// add DOM ready listener for System Bars
|
|
372
|
+
document.addEventListener('DOMContentLoaded', function () {
|
|
373
|
+
win.CapacitorSystemBarsAndroidInterface.onDOMReady();
|
|
374
|
+
});
|
|
375
|
+
}
|
|
370
376
|
if (platform == 'android' || platform == 'ios') {
|
|
371
377
|
// patch document.cookie on Android/iOS
|
|
372
378
|
win.CapacitorCookiesDescriptor =
|
package/Capacitor.podspec
CHANGED
|
@@ -17,7 +17,8 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
s.source = { git: 'https://github.com/ionic-team/capacitor.git', tag: package['version'] }
|
|
18
18
|
s.source_files = "#{prefix}Capacitor/Capacitor/**/*.{swift,h,m}"
|
|
19
19
|
s.module_map = "#{prefix}Capacitor/Capacitor/Capacitor.modulemap"
|
|
20
|
-
s.resources = ["#{prefix}Capacitor/Capacitor/assets/native-bridge.js"
|
|
20
|
+
s.resources = ["#{prefix}Capacitor/Capacitor/assets/native-bridge.js"]
|
|
21
|
+
s.resource_bundles = { 'Capacitor' => ["#{prefix}Capacitor/Capacitor/PrivacyInfo.xcprivacy"] }
|
|
21
22
|
s.dependency 'CapacitorCordova'
|
|
22
23
|
s.swift_version = '5.1'
|
|
23
24
|
end
|
package/CapacitorCordova.podspec
CHANGED
|
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
|
|
|
20
20
|
s.public_header_files = "#{prefix}CapacitorCordova/CapacitorCordova/Classes/Public/*.h",
|
|
21
21
|
"#{prefix}CapacitorCordova/CapacitorCordova/CapacitorCordova.h"
|
|
22
22
|
s.module_map = "#{prefix}CapacitorCordova/CapacitorCordova/CapacitorCordova.modulemap"
|
|
23
|
-
s.
|
|
23
|
+
s.resource_bundles = { 'CapacitorCordova' => ["#{prefix}CapacitorCordova/CapacitorCordova/PrivacyInfo.xcprivacy"] }
|
|
24
24
|
s.requires_arc = true
|
|
25
25
|
s.framework = 'WebKit'
|
|
26
26
|
end
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/ios",
|
|
3
|
-
"version": "8.0.0
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Capacitor: Cross-platform apps with JavaScript and the web",
|
|
5
5
|
"homepage": "https://capacitorjs.com",
|
|
6
6
|
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"xc:build:CapacitorCordova": "cd CapacitorCordova && xcodebuild && cd .."
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@capacitor/core": "^8.0.0
|
|
28
|
+
"@capacitor/core": "^8.0.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|