Skip to main content

@authgear/react-native / SettingsActionOptions

Interface: SettingsActionOptions

It is similar to SettingOptions, but it is used for configuring the UI of the opened settings page for specific action like SettingsAction.ChangePassword.

Table of contents

Properties

Properties

colorScheme

Optional colorScheme: ColorScheme

Override the color scheme

Defined in

packages/authgear-react-native/index.d.ts:1221


redirectURI

redirectURI: string

Redirect URI after the settings action is completed.

Defined in

packages/authgear-react-native/index.d.ts:1230


uiLocales

Optional uiLocales: string[]

UI locale tags. You can use this parameter to set the display language for Auth UI.

First, enable the language you want to change to in Authgear Portal (Your project > UI Settings > click on the settings icon beside Language.)

For example, to change the language for Auth UI to Hong Kong, set the value for uiLocales to ["zh-HK"] after enabling "Chinese (Hong Kong)" in Authgear Portal.

Defined in

packages/authgear-react-native/index.d.ts:1217


wechatRedirectURI

Optional wechatRedirectURI: string

WeChat Redirect URI is needed when integrating WeChat login in react-native The wechatRedirectURI will be called when user click the login with WeChat button

Defined in

packages/authgear-react-native/index.d.ts:1226