diff --git a/packages/performance/README.md b/packages/performance/README.md index 5f1c5002..8a026890 100644 --- a/packages/performance/README.md +++ b/packages/performance/README.md @@ -283,6 +283,7 @@ record(options: RecordOptions) => Promise ``` Records a trace given its name and options. +Only available on web. | Param | Type | | ------------- | ------------------------------------------------------- | diff --git a/packages/performance/android/src/main/java/io/capawesome/capacitorjs/plugins/firebase/performance/FirebasePerformance.java b/packages/performance/android/src/main/java/io/capawesome/capacitorjs/plugins/firebase/performance/FirebasePerformance.java index 490e3ecc..46c19870 100644 --- a/packages/performance/android/src/main/java/io/capawesome/capacitorjs/plugins/firebase/performance/FirebasePerformance.java +++ b/packages/performance/android/src/main/java/io/capawesome/capacitorjs/plugins/firebase/performance/FirebasePerformance.java @@ -1,6 +1,5 @@ package io.capawesome.capacitorjs.plugins.firebase.performance; - import com.google.firebase.perf.metrics.Trace; import java.util.HashMap; import java.util.Map; diff --git a/packages/performance/src/definitions.ts b/packages/performance/src/definitions.ts index 2b705a7b..8da6ab5e 100644 --- a/packages/performance/src/definitions.ts +++ b/packages/performance/src/definitions.ts @@ -68,6 +68,7 @@ export interface FirebasePerformancePlugin { getMetric(options: GetMetricOptions): Promise; /** * Records a trace given its name and options. + * Only available on web. * * @since 6.3.0 */