verdnatura-chat/app/containers/MessageBox
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
..
CommandsPreview [NEW] Themes (#1298) 2019-12-04 13:39:53 -03:00
Mentions [FIX] Show slash commands when disconnected (#2078) 2020-04-30 13:05:31 -03:00
buttons [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
Context.js [FIX] Remove some unnecessary re-renders on Messagebox (#1341) 2019-10-30 11:14:41 -03:00
EmojiKeyboard.js [REVERT] Show emoji keyboard on Android (#1738) 2020-02-17 09:14:56 -03:00
LeftButtons.android.js [REVERT] Show emoji keyboard on Android (#1738) 2020-02-17 09:14:56 -03:00
LeftButtons.ios.js [NEW] Create discussions (#1942) 2020-03-30 16:50:27 -03:00
Recording.js [IMPROVEMENT] Keep screen awake while recording/playing some audio (#2089) 2020-05-08 09:55:26 -03:00
ReplyPreview.js [IMPROVEMENT] Remove useMarkdown (#1774) 2020-02-27 15:34:20 -03:00
RightButtons.android.js [NEW] Create discussions (#1942) 2020-03-30 16:50:27 -03:00
RightButtons.ios.js [IMPROVEMENT] Honor "Message_AudioRecorderEnabled" (#1764) 2020-02-20 18:02:09 -03:00
UploadModal.js [NEW] Custom Status (#1811) 2020-03-30 17:19:01 -03:00
constants.js [FIX] Remove some unnecessary re-renders on Messagebox (#1341) 2019-10-30 11:14:41 -03:00
index.js Update all dependencies (#2008) 2020-05-08 13:37:49 -03:00
styles.js [REVERT] Show emoji keyboard on Android (#1738) 2020-02-17 09:14:56 -03:00