Skip to main content

WebKitWebViewUIImplementationOptions

@authgear/react-native


@authgear/react-native / WebKitWebViewUIImplementationOptions

Interface: WebKitWebViewUIImplementationOptions

WebKitWebViewUIImplementationOptions specifies options for configuring the user interface of a WebKit WebView. It allows platform-specific customization for iOS and Android.

Properties

android?

optional android: WebKitWebViewUIImplementationOptionsAndroid


ios?

optional ios: WebKitWebViewUIImplementationOptionsIOS


sendWechatAuthRequest()?

optional sendWechatAuthRequest: (state) => void

This callback will be called when user click login with WeChat in react-native.

Developer should implement this function to use WeChat SDK to obtain WeChat authentication code. After obtaining the code, developer should call wechatAuthCallback with code and state to complete the WeChat login.

Parameters

state

string

Returns

void