Feature flagsΒΆ
Feature flags can control SDK feature availability or alter some of its behaviours.
- customAccountRecovery: when set the SDK lets the app handle account recovery itself. Both the "Recover access" button and the "Forgot your PIN?" button finish the flow with the specific error:
customAccountRecoveryRequested, instead of showing an SDK dialog or starting the internal recovery flow. This flag takes precedence overdisableAccountRecovery. For backwards compatibility the former JWT secret valuecustomForgotPinButtonis still accepted and maps to this flag, so existing clients do not need a new secret. - disableProductRegistration: when set the SDK doesn't allow the user to register any SDK products and doesn't show the products list in the user profile screen. If the user reaches a point when product registration is required the SDK finishes the flow with the specific error:
productRegistrationNotAllowed. Corresponding JWT secret field should be nameddisableServiceRegistration. - disableManualAccountAddition: when set the SDK doesn't allow the user to perform manual account addition. If the user reaches a point when manual account addition is required the SDK finishes the flow with the specific error:
operationNotAllowed. - disableEvidenceUpload: when set the SDK doesn't allow the user to perform evidence upload. If the user reaches a point when evidence upload is required the SDK finishes the flow with the specific error:
operationNotAllowed. - disableAccountRecovery: disable Account Recovery feature added in v1.42.0 and return the former behaviour. When
customAccountRecoveryis also set,customAccountRecoverytakes precedence. - hidePoweredByLogo: when set the SDK hides all "Powered by Digidentity" logos, wherever they appear, including product and credential cards and page footers.
- hideEmail: when set the SDK hides the account email address on smart card and profile screens.