@capacitor-firebase/performance 1.0.0 → 1.2.0-dev.4d12fe2.1671704792

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.
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
13
13
  s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.ios.deployment_target = '13.0'
15
15
  s.dependency 'Capacitor'
16
- s.dependency 'Firebase/Performance', '9.1.0'
16
+ s.dependency 'Firebase/Performance', '10.2.0'
17
17
  s.swift_version = '5.1'
18
18
  s.static_framework = true
19
19
  end
package/README.md CHANGED
@@ -19,7 +19,7 @@ See [Add the Performance Monitoring plugin to your app](https://firebase.google.
19
19
 
20
20
  This plugin will use the following project variables (defined in your app’s `variables.gradle` file):
21
21
 
22
- - `$firebasePerfVersion` version of `com.google.firebase:firebase-perf` (default: `20.0.6`)
22
+ - `$firebasePerfVersion` version of `com.google.firebase:firebase-perf` (default: `20.3.0`)
23
23
 
24
24
  ## Configuration
25
25
 
@@ -50,12 +50,12 @@ const incrementMetric = async () => {
50
50
  });
51
51
  };
52
52
 
53
- const setPerformanceCollectionEnabled = async () => {
54
- await FirebasePerformance.setPerformanceCollectionEnabled({ enabled: true });
53
+ const setEnabled = async () => {
54
+ await FirebasePerformance.setEnabled({ enabled: true });
55
55
  };
56
56
 
57
- const isPerformanceCollectionEnabled = async () => {
58
- const result = await FirebasePerformance.isPerformanceCollectionEnabled();
57
+ const isEnabled = async () => {
58
+ const result = await FirebasePerformance.isEnabled();
59
59
  return result.enabled;
60
60
  };
61
61
  ```
@@ -3,7 +3,7 @@ ext {
3
3
  androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
4
4
  androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
5
5
  androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
6
- firebasePerfVersion = project.hasProperty('firebasePerfVersion') ? rootProject.ext.firebasePerfVersion : '20.0.6'
6
+ firebasePerfVersion = project.hasProperty('firebasePerfVersion') ? rootProject.ext.firebasePerfVersion : '20.3.0'
7
7
  }
8
8
 
9
9
  buildscript {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor-firebase/performance",
3
- "version": "1.0.0",
3
+ "version": "1.2.0-dev.4d12fe2.1671704792",
4
4
  "description": "Capacitor plugin for Firebase Performance Monitoring.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",