react-native-firework-sdk
    Preparing search index...

    Class FWNavigator

    You can use this class for pushing RN page from the native page.

    Index

    Methods

    • Returns Promise<boolean>

      The result of dismissing the RN container. If the result is true, it means that the RN container is dismissed. If the result is false, it means that the RN container is not dismissed. Only supported on iOS

      This API is deprecated and will be removed in the future. Bring the RN container to bottom.

    • Returns Promise<boolean>

      The result of presenting the RN container. If the result is true, it means that the RN container is presented. If the result is false, it means that the RN container is not presented. Only supported on iOS

      This API is deprecated and will be removed in the future. Bring the RN container to top.

    • Pop the native container. You could use the method to close the fullscreen player. But if the enablePictureInPicture of the associated video feed is true, we can't close the fullscreen player.

      Returns Promise<boolean>

      The result of popping the native container.

    • Pop the RN container you pushed before.

      Returns Promise<boolean>

      The result of popping a new Container.

    • Push a new RN container. You could use this method to make a RN page on top of SDK full-screen player.

      Parameters

      Returns Promise<boolean>

      The result of pushing a new Container.

    • Change current fullscreen player to floating player.

      Returns Promise<boolean>

      If the result is true, it means that the fullscreen player is changed to floating player.

    • Stop current floating player.

      Returns Promise<void>