@capacitor-firebase/performance 8.1.0 → 8.3.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.
Files changed (2) hide show
  1. package/README.md +43 -0
  2. package/package.json +1 -4
package/README.md CHANGED
@@ -8,6 +8,10 @@ Unofficial Capacitor plugin for [Firebase Performance Monitoring](https://fireba
8
8
  </a>
9
9
  </div>
10
10
 
11
+ ## Newsletter
12
+
13
+ Stay up to date with the latest news and updates about the Capawesome, Capacitor, and Ionic ecosystem by subscribing to our [Capawesome Newsletter](https://cloud.capawesome.io/newsletter/).
14
+
11
15
  ## Compatibility
12
16
 
13
17
  | Plugin Version | Capacitor Version | Status |
@@ -20,6 +24,21 @@ Unofficial Capacitor plugin for [Firebase Performance Monitoring](https://fireba
20
24
 
21
25
  ## Installation
22
26
 
27
+ You can use our **AI-Assisted Setup** to install the plugin.
28
+ Add the [Capawesome Skills](https://github.com/capawesome-team/skills) to your AI tool using the following command:
29
+
30
+ ```bash
31
+ npx skills add capawesome-team/skills --skill capacitor-plugins
32
+ ```
33
+
34
+ Then use the following prompt:
35
+
36
+ ```
37
+ Use the `capacitor-plugins` skill from `capawesome-team/skills` to install the `@capacitor-firebase/performance` plugin in my project.
38
+ ```
39
+
40
+ If you prefer **Manual Setup**, install the plugin by running the following commands and follow the platform-specific instructions below:
41
+
23
42
  ```bash
24
43
  npm install @capacitor-firebase/performance firebase
25
44
  npx cap sync
@@ -39,6 +58,30 @@ If needed, you can define the following project variable in your app’s `variab
39
58
 
40
59
  This can be useful if you encounter dependency conflicts with other plugins in your project.
41
60
 
61
+ ### iOS
62
+
63
+ #### Swift Package Manager
64
+
65
+ Add the following to your `capacitor.config.json` (or `capacitor.config.ts`) to avoid a [SwiftPM package identity collision](https://github.com/capawesome-team/capacitor-firebase/issues/959):
66
+
67
+ ```json
68
+ {
69
+ "experimental": {
70
+ "ios": {
71
+ "spm": {
72
+ "packageOptions": {
73
+ "@capacitor-firebase/performance": {
74
+ "symlink": true
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ ```
82
+
83
+ **Attention**: SPM `packageOptions` support requires Capacitor CLI **8.4.0+**.
84
+
42
85
  ## Configuration
43
86
 
44
87
  No configuration required for this plugin.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor-firebase/performance",
3
- "version": "8.1.0",
3
+ "version": "8.3.0",
4
4
  "description": "Capacitor plugin for Firebase Performance Monitoring.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -64,10 +64,8 @@
64
64
  "@capacitor/docgen": "0.3.1",
65
65
  "@capacitor/ios": "8.0.0",
66
66
  "@ionic/eslint-config": "0.4.0",
67
- "@ionic/swiftlint-config": "2.0.0",
68
67
  "eslint": "8.57.0",
69
68
  "firebase": "11.2.0",
70
- "prettier": "3.4.2",
71
69
  "prettier-plugin-java": "2.6.7",
72
70
  "rimraf": "6.1.2",
73
71
  "rollup": "4.53.3",
@@ -83,7 +81,6 @@
83
81
  "optional": true
84
82
  }
85
83
  },
86
- "swiftlint": "@ionic/swiftlint-config",
87
84
  "eslintConfig": {
88
85
  "extends": "@ionic/eslint-config/recommended"
89
86
  },