mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +00:00
feat(native): an app lock with Face ID, Touch ID or the device passcode
A switch in the account settings, inside the app on a device that can unlock that way (iOS LocalAuthentication, Android BiometricPrompt with the screen lock as fallback). Turning it on asks once, so nobody locks themselves out. With it on, TREK asks at launch and after half a minute in the background before showing anything, and the app switcher shows a blurred cover (iOS) or no snapshot (Android) instead of the screen. The setting stays on the device, not the account.
This commit is contained in:
@@ -75,6 +75,13 @@ const native: TranslationStrings = {
|
||||
'native.update.title': 'Actualitza l’app TREK',
|
||||
'native.update.body': 'Aquest servidor necessita una versió més nova de l’app perquè tot funcioni.',
|
||||
'native.update.open': 'Actualitza',
|
||||
'native.lock.title': 'TREK està bloquejat',
|
||||
'native.lock.unlock': 'Desbloqueja',
|
||||
'native.lock.reason': 'Desbloqueja TREK',
|
||||
'native.lock.settingTitle': 'Bloqueig de l’app',
|
||||
'native.lock.setting': 'Bloqueja amb Face ID o codi',
|
||||
'native.lock.settingHint':
|
||||
'Ho demana en obrir TREK i després de mig minut en segon pla, i amaga l’app al selector d’apps.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
Reference in New Issue
Block a user