UI Modes
Estimated time to read: 1 minute
The Arcana wallet can be customized by Web3 app developers through the Arcana Developer Dashboard. When registering the app via the dashboard, developers must choose one of the wallet UI modes:
- Built-in Arcana wallet UI (default)
- Custom wallet UI.
To use a custom wallet UI, developers should select the UI mode as 'Custom UI' during app creation on the Arcana Developer Dashboard. This choice is final and cannot be changed later.
AuthProvider: appMode
and alwaysVisible
flags
Developers can control the wallet UI mode and when the wallet UI is displayed in the app context through the following customizations:
-
UI Mode: Choose between the Arcana wallet UI or a custom wallet UI. Set this in the dashboard's Wallet UI Mode when creating and registering a new app. There is also an
appMode
flag in theAuthProvider
which can override this setting in the dashboard. If 'Custom UI' is selected via the dashboard then theappMode
flag inAuthProvider
is ignored. -
Always Visible: Decide if the wallet is always visible in the app or only during a blockchain transaction. The
alwaysVisible
flag can be set to false (default is true) when creating a newAuthProvider
. If using the Arcana wallet UI, this flag controls visibility. By default, the UI is always visible as a minimized widget. When set tofalse
, the UI only appears during a blockchain transaction or when the developer calls theshowWallet()
method of theAuthProvider
. ThealwaysVisible
flag is ignored if a custom UI is selected in the dashboard's Wallet UI Mode.