mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
901818492d
* feat: added react-native-biometrics dependency * chore: added malli schema to auth * fix: malli schema * feat: using react-native-biometrics * fix: removed biometry not-enrolled error supression * feat: added check for enabled biometric * fix: biometrics error handling on ios * chore: remove touch-id library * chore: cleanup * removed proj.list dep * fix: gradle get_projects regex edge-case Handles cases when the gradle project has a description, which shows up when running `gradle projects` as (`react-native-biometrics` - react-native-biometrics), breaking `make nix-update-gradle`. Here we're just adjusting the regex to ignore everything in the line after the closing (`). * build: ran "make nix-update-gradle" * chore: comment typo * chore: replaced old lib in test mocks * fix: addressed review comments * fix: using event for standard-auth biometrics * ref: using ex-cause for biometric error codes * fix: removed promesa changes * fix: auth slide biometric success not triggered
23 lines
768 B
Bash
Executable File
23 lines
768 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This script generates a list of Gradle sub-projects by parsing the output
|
|
# of Gradle 'projects' task using grep and sed. It is necessary in order to
|
|
# collect list of dependencies for main project and its sub-projects.
|
|
|
|
set -Eeuo pipefail
|
|
|
|
GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
|
|
# Gradle needs to be run in 'android' subfolder.
|
|
cd "${GIT_ROOT}/android"
|
|
|
|
# Show Gradle log in case of failure.
|
|
GRADLE_LOG_FILE='/tmp/gradle.log'
|
|
function show_gradle_log() { cat "${GRADLE_LOG_FILE}" >&2; }
|
|
trap show_gradle_log ERR
|
|
|
|
# Print all our sub-projects
|
|
./gradlew projects --no-daemon --console plain 2>&1 \
|
|
| tee "${GRADLE_LOG_FILE}" \
|
|
| grep "Project ':" \
|
|
| sed -E "s;^.--- Project '\:([@_a-zA-Z0-9\-]+)'.*;\1;"
|