Skip to content

Commit

Permalink
feat(performance): add missing methods (#505)
Browse files Browse the repository at this point in the history
Update method definitions.ts for record.
  • Loading branch information
ebarooni committed Dec 11, 2024
1 parent b6ccc1f commit 04e3298
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/performance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ record(options: RecordOptions) => Promise<void>
```

Records a trace given its name and options.
Only available on web.

| Param | Type |
| ------------- | ------------------------------------------------------- |
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 1 addition & 0 deletions packages/performance/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export interface FirebasePerformancePlugin {
getMetric(options: GetMetricOptions): Promise<GetMetricResult>;
/**
* Records a trace given its name and options.
* Only available on web.
*
* @since 6.3.0
*/
Expand Down

0 comments on commit 04e3298

Please sign in to comment.