Rocket.Chat.ReactNative/app/actions
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
..
actionsTypes.js [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
activeUsers.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
connect.js Use Rest API calls (#558) 2018-12-05 18:52:08 -02:00
crashReport.js [CHORE] Bugsnag logging setup (#1145) 2019-08-23 10:18:47 -03:00
createChannel.js Beta (#265) 2018-04-24 17:08:17 -03:00
createDiscussion.js [NEW] Create discussions (#1942) 2020-03-30 16:50:27 -03:00
customEmojis.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
deepLinking.js Deep linking (#291) 2018-05-07 17:43:26 -03:00
index.js [FIX] Clear settings on server change (#1967) 2020-04-01 16:24:42 -03:00
inviteLinks.js [NEW] Invite links (#1534) 2020-01-28 10:22:35 -03:00
login.js [NEW] Clear cache (#1660) 2020-02-05 12:12:40 -03:00
messages.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
notification.js [FIX] Small fixes on UIKit (#1709) 2020-02-12 14:21:11 -03:00
room.js [IMPROVEMENT] Stop inserting last message as message object from rooms stream if room is focused (#2069) 2020-04-30 14:53:35 -03:00
rooms.js [NEW] Pull to refresh RoomsList (#1701) 2020-02-11 17:13:44 -03:00
selectedUsers.js Update dependencies (#431) 2018-09-25 16:28:42 -03:00
server.js [NEW] Support client certificates for SSL (two-way authentication) (#1125) 2019-09-02 13:19:05 -03:00
settings.js [FIX] Clear settings on server change (#1967) 2020-04-01 16:24:42 -03:00
share.js [FIX] Share Extension issues (#1064) 2019-07-29 13:33:28 -03:00
sortPreferences.js Sort/group rooms local only (#425) 2018-09-04 11:29:20 -03:00
usersTyping.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00