cordova-plugin-firebase-performance

1.0.0 • Public • Published

cordova-plugin-firebase-performance
NPM version NPM downloads

Cordova plugin for Firebase Performance Monitoring

Installation

cordova plugin add cordova-plugin-firebase-performance --save

Supported Platforms

  • iOS
  • Android

Methods

Every method returns a promise that fulfills when a call was successful.

startTrace(traceName)

Start a custom trace.

window.FirebasePerformance.startTrace("my_trace");

incrementMetric(traceName, metricName)

Increment a custom metric.

window.FirebasePerformance.incrementMetric("my_trace", "my_metric_1");

stopTrace(traceName)

Stop the custom trace.

window.FirebasePerformance.stopTrace("my_trace");

Package Sidebar

Install

npm i cordova-plugin-firebase-performance

Weekly Downloads

323

Version

1.0.0

License

MIT

Unpacked Size

13.7 kB

Total Files

9

Last publish

Collaborators

  • adailtonribeiro