2FA is mandatory only for Xero users as per Xero restrictions, while Pin/Face ID is mandatory for all users. If you have enabled both Pin/Face ID and 2FA, you'll have to use both for authentication when you log into the system.
You won't have to enter a code when you close the app because closing the app does not log you out from your account. As long as you remain logged in, you can close and reopen the app without entering a 2FA code.
Here is how 2FA can be set up on mobile devices:
To enable two-factor authentication, click on the
button:
Download the Authenticator app to your smartphone and enter the copied key
Authenticator applications can be:
Please note: if you close this window and start the 2FA setup from scratch, the key will be updated.
If you choose backup codes as the alternative option, download the codes, confirm the download and then click on DONE:
If you choose backup email as the alternative option, add an alternative email address and confirm it with the code sent to this address:
For a quick video overview, check out the below: