@capacitor-plus/ios 8.0.0-beta.0 → 8.0.4

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", "#{prefix}Capacitor/Capacitor/PrivacyInfo.xcprivacy"]
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
@@ -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.resources = ["#{prefix}CapacitorCordova/CapacitorCordova/PrivacyInfo.xcprivacy"]
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/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # @capacitor-plus/ios
2
+
3
+ The iOS native runtime for Capacitor+.
4
+
5
+ ## What is Capacitor+?
6
+
7
+ **Capacitor+** is an automated fork of [Capacitor](https://github.com/ionic-team/capacitor) maintained by [Capgo](https://capgo.app). It provides the same functionality as `@capacitor/ios` with these benefits:
8
+
9
+ - **Faster Updates**: Get upstream fixes as soon as they pass CI, not months later
10
+ - **Community PRs Merged**: Valuable PRs stuck in the upstream queue are merged here
11
+ - **Security Reviewed**: Every change is analyzed by Claude Code for vulnerabilities
12
+ - **Drop-in Replacement**: Same native APIs, just a different package scope
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ npm install @capacitor-plus/ios
18
+ npx cap add ios
19
+ ```
20
+
21
+ ## Requirements
22
+
23
+ - macOS with Xcode 15+
24
+ - iOS 14+ deployment target
25
+ - CocoaPods or Swift Package Manager
26
+
27
+ ## Why Use This Instead of @capacitor/ios?
28
+
29
+ The official Capacitor release cycle can leave bug fixes and improvements waiting for months. Capacitor+ automatically syncs with upstream daily, runs full CI (including iOS builds and tests), and publishes verified releases immediately.
30
+
31
+ **Have a PR stuck in the Capacitor repo?** Open an issue linking to it, and we'll merge it here so you can use your fix today.
32
+
33
+ ## What's Included
34
+
35
+ This package contains:
36
+
37
+ - **Capacitor iOS Framework**: The core native bridge between your web app and iOS
38
+ - **WKWebView Configuration**: Optimized WebView settings for hybrid apps
39
+ - **Plugin System**: Native plugin architecture for extending functionality
40
+ - **CapacitorCordova**: Compatibility layer for Cordova plugins
41
+
42
+ ## Compatibility
43
+
44
+ This package maintains API compatibility with `@capacitor/ios`. All Capacitor plugins work with both the official and Capacitor+ iOS runtime.
45
+
46
+ ## Links
47
+
48
+ - [Main Repository](https://github.com/Cap-go/capacitor-plus)
49
+ - [iOS Documentation](https://capacitorjs.com/docs/ios)
50
+ - [Capgo](https://capgo.app)
51
+
52
+ ## License
53
+
54
+ MIT - See [LICENSE](../LICENSE)
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@capacitor-plus/ios",
3
- "version": "8.0.0-beta.0",
3
+ "version": "8.0.4",
4
4
  "description": "Capacitor+: Enhanced Capacitor with automated upstream sync - Cross-platform apps with JavaScript and the web",
5
- "homepage": "https://github.com/Cap-go/capacitor-plus",
5
+ "homepage": "https://capgo.app/docs/plugins/capacitor-plus/",
6
6
  "author": "Capgo Team <support@capgo.app> (https://capgo.app)",
7
7
  "license": "MIT",
8
8
  "repository": {
@@ -25,7 +25,8 @@
25
25
  "xc:build:CapacitorCordova": "cd CapacitorCordova && xcodebuild && cd .."
26
26
  },
27
27
  "peerDependencies": {
28
- "@capacitor-plus/core": "^8.0.0-beta.0"
28
+ "@capacitor-plus/core": "^8.0.0",
29
+ "@capacitor/core": "^8.0.0"
29
30
  },
30
31
  "publishConfig": {
31
32
  "access": "public"