Rocket.Chat.ReactNative/app/lib/methods
Diego Mello 61afa86c0e
[NEW] Passcode and biometric unlock (#2059)
* Update expo libs

* Configure expo-local-authentication

* ScreenLockedView

* Authenticate server change

* Auth on app resume

* localAuthentication util

* Add servers.lastLocalAuthenticatedSession column

* Save last session date on background

* Use our own version of app state redux

* Fix libs

* Remove inactive

* ScreenLockConfigView

* Apply on saved data

* Auto lock option label

* Starting passcode

* Basic passcode flow working

* Change passcode

* Check if biometry is enrolled

* Use fork

* Migration

* Patch expo-local-authentication

* Use async storage

* Styling

* Timer

* Refactor

* Lock orientation portrait when not on tablet

* share extension

* Deep linking

* Share extension

* Refactoring passcode

* use state

* Stash

* Refactor

* Change passcode

* Animate dots on error

* Matching passcodes

* Shake

* Remove lib

* Delete button

* Fade animation on modal

* Refactoring

* ItemInfo

* I18n

* I18n

* Remove unnecessary prop

* Save biometry column

* Raise time to lock to 30 seconds

* Vibrate on wrong confirmation passcode

* Reset attempts and save last authentication on local passcode confirmation

* Remove inline style

* Save last auth

* Fix header blink

* Change function name

* Fix android modal

* Fix vibration permission

* PasscodeEnter calls biometry

* Passcode on the state

* Biometry button on PasscodeEnter

* Show whole passcode

* Secure passcode

* Save passcode with promise to prevent empty passcodes and immediately lock

* Patch expo-local-authentication

* I18n

* Fix biometry being called every time

* Blur screen on app inactive

* Revert "Blur screen on app inactive"

This reverts commit a4ce812934.

* Remove immediately because of how Activities work on Android

* Pods

* New layout

* stash

* Layout refactored

* Fix icons

* Force set passcode from server

* Lint

* Improve permission message

* Forced passcode subtitle

* Disable based on admin's choice

* Require local authentication on login success

* Refactor

* Update tests

* Update react-native-device-info to fix notch

* Lint

* Fix modal

* Fix icons

* Fix min auto lock time

* Review

* keep enabled on mobile

* fix forced by admin when enable unlock with passcode

* use DEFAULT_AUTO_LOCK when manual enable screenLock

* fix check has passcode

* request biometry on first password

* reset auto time lock when disabled on server

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-05-08 14:04:37 -03:00
..
helpers [IMPROVEMENT] Close announcement banner (#2064) 2020-05-08 09:57:04 -03:00
subscriptions [IMPROVEMENT] Close announcement banner (#2064) 2020-05-08 09:57:04 -03:00
actions.js [FIX] HTTP Basic Auth (#1753) 2020-02-20 09:58:13 -03:00
callJitsi.js [NEW] Jitsi JWT added to URL (#1746) 2020-02-18 11:06:14 -03:00
canOpenRoom.js [FIX] DM header blink (#2011) 2020-04-09 02:20:57 -03:00
getCustomEmojis.js [FIX] Server Version (#1392) 2019-11-18 14:50:00 -03:00
getPermissions.js [FIX] Server Version (#1392) 2019-11-18 14:50:00 -03:00
getRoles.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
getRooms.js [FIX] Fetch rooms date (#662) 2019-02-27 17:29:37 -03:00
getSettings.js [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
getSlashCommands.js [FIX] Delete slash commands (#1723) 2020-02-14 10:24:35 -03:00
getUsersPresence.js [FIX] Investigate app losing connection issues (#1890) 2020-04-03 15:03:53 -03:00
loadMessagesForRoom.js [FIX] Load messages (#1910) 2020-03-30 17:10:19 -03:00
loadMissedMessages.js [FIX] Load messages (#1910) 2020-03-30 17:10:19 -03:00
loadThreadMessages.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
logout.js [NEW] Delete Server (#1975) 2020-05-04 17:20:45 -03:00
readMessages.js [FIX] Load messages (#1910) 2020-03-30 17:10:19 -03:00
sendFileMessage.js [FIX] Allow special chars in Filename (#2020) 2020-04-30 15:20:29 -03:00
sendMessage.js [FIX] Thread message not found (#1830) 2020-03-05 13:31:21 -03:00
updateMessages.js [FIX] Watermelon throwing "Cannot update a record with pending updates" (#1754) 2020-03-02 17:12:41 -03:00