PayPalLauncher

constructor(caller: ActivityResultCaller? = null)

Used to launch the PayPal flow in a web browser and deliver results to your Activity

Parameters

caller

Optional ActivityResultCaller parameter. If provided, it will be passed to BrowserSwitchClient


constructor(registry: ActivityResultRegistry)

Used to launch the PayPal flow in a web browser and deliver results. Use it in Compose flows or where ActivityResultCaller is not available.

Parameters

registry

ActivityResultRegistry parameter. It will be passed to BrowserSwitchClient.