vn-verdnaturachat/app/utils
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 a4ce812934adcf6cf87eb1a92aec9283e2f26753.

* 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
..
shortnameToUnicode [FIX] Remove unrecognized emoji flags on android (#1887) 2020-03-17 17:19:18 -03:00
avatar.js [NEW] Create discussions (#1942) 2020-03-30 16:50:27 -03:00
debounce.js [WIP] Improves (#245) 2018-03-02 21:31:44 +00:00
deviceInfo.js Update all dependencies (#2008) 2020-05-08 13:37:49 -03:00
events.js [CHORE] Bugsnag logging setup (#1145) 2019-08-23 10:18:47 -03:00
fetch.js [IMPROVEMENT] Change server while connecting/updating (#1981) 2020-05-05 10:11:28 -03:00
info.js [NEW] Confirm logout/clear cache (#1688) 2020-02-10 11:53:42 -03:00
isReadOnly.js [FIX] Lint (#2030) 2020-04-13 10:56:30 -03:00
isValidEmail.js Use Rest API calls (#558) 2018-12-05 18:52:08 -02:00
layoutAnimation.js [FIX] Watermelon throwing "Cannot update a record with pending updates" (#1754) 2020-03-02 17:12:41 -03:00
localAuthentication.js [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
log.js [IMPROVEMENT] Log server version (#1786) 2020-02-28 16:51:13 -03:00
longPress.js [NEW] Delete Server (#1975) 2020-05-04 17:20:45 -03:00
media.js [FIX] Accept all media types using * (#1770) 2020-02-21 13:02:12 -03:00
messageTypes.js [NEW] Filter system messages per room (#1815) 2020-03-06 11:19:03 -03:00
moment.js [FIX] Moment locales (#1066) 2019-07-23 11:07:18 -03:00
navigation.js [NEW] Themes (#1298) 2019-12-04 13:39:53 -03:00
openLink.js [NEW] Default browser (#1752) 2020-02-19 17:52:05 -03:00
random.js [NEW] OAuth (#241) 2018-02-23 17:29:05 -03:00
review.js [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
room.js [FIX] Lint (#2030) 2020-04-13 10:56:30 -03:00
scaling.js [NEW] Tablet support (#1300) 2019-11-25 17:01:17 -03:00
scrollPersistTaps.js Emoji picker (#185) 2018-01-16 16:48:05 -02:00
server.js [NEW] Support client certificates for SSL (two-way authentication) (#1125) 2019-09-02 13:19:05 -03:00
theme.js [NEW] Themes (#1298) 2019-12-04 13:39:53 -03:00
throttle.js Beta (#265) 2018-04-24 17:08:17 -03:00
touch.js [NEW] Themes (#1298) 2019-12-04 13:39:53 -03:00
twoFactor.js [NEW] Two Factor authentication via email (#1961) 2020-04-01 17:32:24 -03:00
url.js [NEW] Delete Server (#1975) 2020-05-04 17:20:45 -03:00