@capacitor-firebase/performance 0.1.1 → 0.2.2
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ npm install @capacitor-firebase/performance firebase
|
|
|
9
9
|
npx cap sync
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
Add Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).
|
|
12
|
+
Add Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).
|
|
13
13
|
|
|
14
14
|
### Android
|
|
15
15
|
|
|
@@ -32,7 +32,7 @@ A working example can be found here: [robingenz/capacitor-firebase-plugin-demo](
|
|
|
32
32
|
## Usage
|
|
33
33
|
|
|
34
34
|
```typescript
|
|
35
|
-
import { FirebasePerformance } from '@
|
|
35
|
+
import { FirebasePerformance } from '@capacitor-firebase/performance';
|
|
36
36
|
|
|
37
37
|
const startTrace = async () => {
|
|
38
38
|
await FirebasePerformance.startTrace({ traceName: 'test_trace' });
|