create Plan Presenter
  fun createPlanPresenter(planLink: ExpoFpLinkType, additionalParams: List<ExpoFpPlanParameter> = emptyList(), locationProvider: IExpoFpLocationProvider? = globalLocationProvider, messageListener: IExpoFpPlanMessageListener? = null, isDebugModeEnabled: Boolean = false): IExpoFpPlanPresenter
Create a plan presenter.
Return
IExpoFpPlanPresenter to manage the plan.
Parameters
plan Link
type of the link to load a plan.
additional Params
parameters to configure the plan before presenting.
location Provider
location provider to be used (defaults to globalLocationProvider).
message Listener
listener for messages from the plan. Note: the SDK does not retain it.
is Debug Mode Enabled
Enables sending DEBUG messages via IExpoFpPlanMessageListener. When true, the presenter forwards JavaScript runtime errors and console output from the plan to:
Warning: Do not turn on Debug mode in production, it may slow down the plan initialization and response. Use only for debugging!
Throws
if initialize was not called before.