diff --git a/native/account/fullscreen-siwe-panel.react.js b/native/account/fullscreen-siwe-panel.react.js --- a/native/account/fullscreen-siwe-panel.react.js +++ b/native/account/fullscreen-siwe-panel.react.js @@ -12,6 +12,7 @@ import { useGetEthereumAccountFromSIWEResult } from './registration/ethereum-utils.js'; import { RegistrationContext } from './registration/registration-context.js'; +import { enableNewRegistrationMode } from './registration/registration-types.js'; import { useSIWEServerCall } from './siwe-hooks.js'; import SIWEPanel from './siwe-panel.react.js'; import { @@ -68,7 +69,10 @@ async (result: SIWEResult) => { successRef.current = true; try { - await siweServerCall({ ...result, doNotRegister: true }); + await siweServerCall({ + ...result, + doNotRegister: enableNewRegistrationMode, + }); } catch (e) { if ( e instanceof ServerError && diff --git a/native/account/logged-out-modal.react.js b/native/account/logged-out-modal.react.js --- a/native/account/logged-out-modal.react.js +++ b/native/account/logged-out-modal.react.js @@ -37,6 +37,7 @@ import LoggedOutStaffInfo from './logged-out-staff-info.react.js'; import RegisterPanel from './register-panel.react.js'; import type { RegisterState } from './register-panel.react.js'; +import { enableNewRegistrationMode } from './registration/registration-types.js'; import KeyboardAvoidingView from '../components/keyboard-avoiding-view.react.js'; import ConnectedStatusBar from '../connected-status-bar.react.js'; import { @@ -652,7 +653,7 @@ , ); - if (__DEV__) { + if (enableNewRegistrationMode) { registerButtons.push(