react-native-adapty - v4.0.1
    Preparing search index...

    Function createFlowView

    • Creates a flow view controller. You can use it to further configure a view or present it.

      Parameters

      Returns Promise<FlowViewController>

      FlowViewController — A promise that resolves to a FlowViewController instance.

      const flow = await adapty.getFlow("MY_PLACEMENT");
      const view = await createFlowView(flow);
      // Present with default full-screen style
      view.present();
      // Or present with custom style (iOS only)
      view.present({ iosPresentationStyle: 'page_sheet' }); // or 'full_screen'

      — If flow is not found, does not have a no-code view configured or if there is an error while creating a view.