WebView

The WebView SDK allows you to show web content inside your app.

Start using the WebView SDK

The platform module includes the WebView SDK. To start using it, you need to override the XML value useNewMoreTabAndAccount, which also enables Account SDK, and set it to true. The WebView SDK is compose of this module:

Koin modules

The WebView SDK dependencies are injected using Koin. WebView SDK provides the default dependencies definitions via this Koin module:

  • webScreenPresentationModule

PoqSettings

The WebView SDK is configurable via WebScreenSettings. Through WebScreenSettings you can configure:

  • cssUrl: url for CSS. By default uses {api_endpoint}/assets/web/css/{appId}/{poqUserId}
  • jsUrl: url for Javascript. By default uses {api_endpoint}/assets/web/js/{appId}/{poqUserId}