@capgo/capacitor-env 8.1.7 → 8.1.9

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.
package/Package.swift CHANGED
@@ -2,15 +2,15 @@
2
2
  import PackageDescription
3
3
 
4
4
  let package = Package(
5
- name: "Env",
5
+ name: "CapgoCapacitorEnv",
6
6
  platforms: [.iOS(.v15)],
7
7
  products: [
8
8
  .library(
9
- name: "Env",
9
+ name: "CapgoCapacitorEnv",
10
10
  targets: ["EnvPlugin"])
11
11
  ],
12
12
  dependencies: [
13
- .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.1")
13
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0")
14
14
  ],
15
15
  targets: [
16
16
  .target(
package/README.md CHANGED
@@ -12,6 +12,17 @@ Set Env var in Capacitor config and read them at runtime, This plugin is helpful
12
12
 
13
13
  The most complete doc is available here: https://capgo.app/docs/plugins/env/
14
14
 
15
+ ## Compatibility
16
+
17
+ | Plugin version | Capacitor compatibility | Maintained |
18
+ | -------------- | ----------------------- | ---------- |
19
+ | v8.\*.\* | v8.\*.\* | ✅ |
20
+ | v7.\*.\* | v7.\*.\* | On demand |
21
+ | v6.\*.\* | v6.\*.\* | ❌ |
22
+ | v5.\*.\* | v5.\*.\* | ❌ |
23
+
24
+ > **Note:** The major version of this plugin follows the major version of Capacitor. Use the version that matches your Capacitor installation (e.g., plugin v8 for Capacitor 8). Only the latest major version is actively maintained.
25
+
15
26
  ## Install
16
27
 
17
28
  ```bash
@@ -9,7 +9,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
9
9
  @CapacitorPlugin(name = "Env")
10
10
  public class EnvPlugin extends Plugin {
11
11
 
12
- private final String pluginVersion = "8.1.7";
12
+ private final String pluginVersion = "8.1.9";
13
13
 
14
14
  @PluginMethod
15
15
  public void getKey(PluginCall call) {
@@ -7,7 +7,7 @@ import Capacitor
7
7
  */
8
8
  @objc(EnvPlugin)
9
9
  public class EnvPlugin: CAPPlugin, CAPBridgedPlugin {
10
- private let pluginVersion: String = "8.1.7"
10
+ private let pluginVersion: String = "8.1.9"
11
11
  public let identifier = "EnvPlugin"
12
12
  public let jsName = "Env"
13
13
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-env",
3
- "version": "8.1.7",
3
+ "version": "8.1.9",
4
4
  "description": "Set Env var in Capacitor config and read them at runtime",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "scripts": {
38
38
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
39
- "verify:ios": "xcodebuild -scheme Env -destination generic/platform=iOS",
39
+ "verify:ios": "xcodebuild -scheme CapgoCapacitorEnv -destination generic/platform=iOS",
40
40
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
41
41
  "verify:web": "npm run build",
42
42
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
@@ -48,7 +48,8 @@
48
48
  "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
49
49
  "clean": "rimraf ./dist",
50
50
  "watch": "tsc --watch",
51
- "prepublishOnly": "npm run build"
51
+ "prepublishOnly": "npm run build",
52
+ "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@capacitor/android": "^8.0.0",