vn-verdnaturachat/app/lib/selection.json

1 line
158 KiB
JSON
Raw Normal View History

[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 17:04:37 +00:00
{"IcoMoonType":"selection","icons":[{"icon":{"paths":["M336 304c0-97.202 78.797-176 176-176s176 78.798 176 176v142.477h16c53.020 0 96 42.98 96 96v257.523c0 53.020-42.98 96-96 96h-384c-53.020 0-96-42.98-96-96v-257.523c0-53.020 42.98-96 96-96h16v-142.477zM400 446.477h224v-142.477c0-61.856-50.145-112-112-112s-112 50.144-112 112v142.477zM320 510.477c-17.674 0-32 14.326-32 32v257.523c0 17.674 14.326 32 32 32h384c17.674 0 32-14.326 32-32v-257.523c0-17.674-14.326-32-32-32h-384z"],"attrs":[{"fill":"rgb(108, 114, 122)"}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["lock"]},"attrs":[{"fill":"rgb(108, 114, 122)"}],"properties":{"order":146,"id":0,"name":"lock","prevSize":32,"code":59674},"setIdx":0,"setId":4,"iconIdx":0},{"icon":{"paths":["M623.090 896c-2.805 0-5.296-0.626-7.165-0.936-62.003-16.859-102.818-39.649-145.815-80.859-55.148-54.010-85.367-125.815-85.367-202.303 0-65.874 56.704-119.572 126.495-119.572s126.495 53.697 126.495 119.572c0 34.967 31.471 63.374 69.791 63.374 38.323 0 69.791-28.407 69.791-63.374 0-135.805-119.64-246.633-266.701-246.633-105 0-200.34 57.131-243.335 145.795-14.332 29.346-21.498 63.061-21.498 100.838 0 28.723 2.493 73.367 24.926 131.746 2.804 7.179 2.493 14.674-0.623 21.854-3.116 6.869-9.035 11.864-16.202 14.362-2.804 1.249-6.231 1.562-9.659 1.562-11.839 0-22.433-7.182-26.483-18.108-19.006-50.264-28.353-99.903-28.353-151.728 0-46.205 9.035-88.351 26.795-125.503 52.343-108.018 167.934-177.638 294.432-177.638 178.529 0 323.718 135.805 323.718 302.828 0 65.874-56.704 119.572-126.808 119.572-70.101 0-126.808-53.697-126.808-119.572 0-34.964-31.468-63.374-69.791-63.374-38.633 0-69.791 28.41-69.791 63.374 0 61.503 24.303 119.259 68.545 162.344 35.209 34.028 68.858 53.072 120.579 67.12 7.165 1.874 13.397 6.556 17.135 13.113s4.673 14.362 2.805 21.228c-2.805 11.864-14.020 20.918-27.108 20.918zM426.803 888.195c-7.791 0-15.266-3.12-20.252-8.741-33.337-32.779-51.721-54.010-77.892-100.528-26.795-47.141-41.128-105.207-41.128-167.336 0-116.449 100.949-211.356 224.953-211.356s224.953 94.908 224.953 211.356c0 15.61-12.464 28.097-28.353 28.097s-28.663-12.174-28.663-28.097c0-85.541-75.401-155.162-168.246-155.162-92.848 0-168.249 69.621-168.249 155.162 0 52.449 11.841 100.528 34.273 139.551 23.367 41.523 38.946 59.005 68.858 88.664 10.903 11.238 10.903 28.72 0 39.649-5.922 5.931-13.087 8.741-20.252 8.741zM699.736 818.887c-47.357 0-88.798-11.861-123.381-34.964-59.199-39.649-94.717-103.962-94.717-172.334 0-15.61 12.462-28.097 28.353-28.097 15.889 0 28.353 12.487 28.353 28.097 0 49.638 26.172 96.782 69.791 125.503 25.236 16.859 55.145 24.977 91.6 24.977 7.788 0 22.434-0.939 38.010-3.746 1.559-0.313 3.428-0.313 4.986-0.313 13.707 0 25.236 9.99 27.73 23.415 1.246 7.179-0.313 14.672-4.363 20.602-4.361 6.246-10.906 10.615-18.694 11.864-23.367 4.682-43.932 4.995-47.67 4.995zM188.765 435.826c-5.608 0-11.216-1.562-16.201-4.998-6.543-4.056-10.594-10.613-12.151-18.105-1.246-7.495 0.311-14.987 4.985-21.231 38.635-53.697 87.862-95.844 146.127-125.502 60.132-30.595 129.61-46.829 200.96-46.829 71.037 0 140.206 15.922 200.027 46.205 58.576 29.66 107.802 71.493 146.125 124.565 4.363 5.934 6.232 13.426 4.986 20.918s-5.609 14.049-11.841 18.421c-4.983 3.433-10.593 4.995-16.512 4.995-9.037 0-17.761-4.372-23.057-11.864-33.337-45.892-75.711-82.108-125.559-107.082-52.343-26.226-112.788-40.274-174.478-40.274-62.316 0-122.758 14.048-175.101 40.584-49.852 25.913-92.537 62.128-126.186 108.646-3.739 6.866-12.463 11.551-22.121 11.551zM733.696 239.142c-4.673 0-9.347-1.249-13.397-3.434-71.347-35.903-133.35-51.512-207.502-51.512-74.465 0-144.256 17.483-207.818 51.824-4.050 2.185-8.724 3.122-13.397 3.122-10.281 0-19.628-5.619-24.924-14.361-3.739-6.556-4.673-14.361-2.493-21.542s7.166-13.424 13.709-16.858c72.596-38.712 151.735-58.381 234.923-58.381 82.566 0 154.849 17.795 233.987 58.068 6.855 3.434 11.839 9.366 14.333 16.859 2.179 7.181 1.246 14.673-2.182 21.229-4.986 9.054-14.643 14.985-25.239 14.985z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["fingerprint"]},"attrs":[{}],"properties":{"order":143,"id":3,"nam