- Enhanced JWT extraction and validation in getContactJwtFromJwtUrl - Added robust error handling in decodeEndorserJwt with fallback manual decoding - Improved QR code scanning with better type safety and error handling - Refactored ContactQRScanShowView component for better maintainability - Added comprehensive logging throughout the scanning process - Improved cleanup handling for camera and listeners - Added proper TypeScript interfaces for scan results - Enhanced error messages for better user feedback Security: - Added validation for JWT format and required fields - Improved error handling for malformed JWTs - Added input validation for QR code URLs - Redacted sensitive data in logs BREAKING CHANGE: JWT handling now supports multiple URL patterns and has stricter validation
28 lines
1.4 KiB
Properties
28 lines
1.4 KiB
Properties
# Project-wide Gradle settings.
|
|
|
|
# IDE (e.g. Android Studio) users:
|
|
# Gradle settings configured through the IDE *will override*
|
|
# any settings specified in this file.
|
|
|
|
# For more details on how to configure your build environment visit
|
|
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
|
|
# Specifies the JVM arguments used for the daemon process.
|
|
# The setting is particularly useful for tweaking memory settings.
|
|
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -Djdk.io.File.enableADS=true -Dsun.net.inetaddr.ttl=0 -Dsun.net.inetaddr.negative.ttl=0 -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=10000
|
|
|
|
# When configured, Gradle will run in incubating parallel mode.
|
|
# This option should only be used with decoupled projects. More details, visit
|
|
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
# org.gradle.parallel=true
|
|
|
|
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
# Android operating system, and which are packaged with your app's APK
|
|
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
android.useAndroidX=true
|
|
# Automatically convert third-party libraries to use AndroidX
|
|
android.enableJetifier=true
|
|
# Use DNS servers that can resolve Google's Maven repository
|
|
systemProp.sun.net.spi.nameservice.nameservers=8.8.8.8,8.8.4.4
|
|
systemProp.sun.net.spi.nameservice.provider.1=dns,sun
|