React Native Firebase
    Preparing search index...

    ScreenTrace allows you to record a custom screen rendering trace of slow and frozen frames. Throws on constructor if hardware acceleration is off or if Android is 9.0 or 9.1.

    android Android !== 9.0.0 && Adnroid !== 9.1.0

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Starts a new screen trace. Does nothing if already started.

      try {
      const trace = firebase.perf().newScreenTrace('FooScreen');
      await trace.start();
      } catch (e) {

      }

      Returns Promise<null>

      android Android >= 9.0.0

    • Stops and sends the screen trace.

      try {
      const trace = firebase.perf().newScreenTrace('FooScreen');
      await trace.start();
      await trace.stop();
      } catch (e) {

      }

      Returns Promise<null>

      android Android >= 9.0.0