MiniAppConfig
public struct MiniAppConfig
Base config to initialize a MiniAppView
-
Initializes a new config for MiniAppView
Declaration
Swift
public init( config: MiniAppSdkConfig?, adsDisplayer: MiniAppAdDisplayer? = nil, messageDelegate: MiniAppMessageDelegate, navigationDelegate: MiniAppNavigationDelegate? = nil )
Parameters
config
MiniAppSdkConfig that defines the baseUrl and other basic settings
adsDisplayer
Ads Displayer for showing ads
messageDelegate
Message delegate to handle different interface callbacks used by Mini App to communicate with the Native implementation.
navigationDelegate
Handling of webview navigation actions