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
configMiniAppSdkConfig that defines the baseUrl and other basic settings
adsDisplayerAds Displayer for showing ads
messageDelegateMessage delegate to handle different interface callbacks used by Mini App to communicate with the Native implementation.
navigationDelegateHandling of webview navigation actions
MiniAppConfig Structure Reference