diff --git a/android/build.gradle b/android/build.gradle index 5ece718770..d850d0ae3b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -12,8 +12,8 @@ android { applicationId "io.parity.signer" minSdk 23 targetSdk 34 - versionCode 60200 - versionName "6.2.0" + versionCode 60300 + versionName "6.3.0" ndk { abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' } diff --git a/android/src/main/java/io/parity/signer/domain/FeatureFlags.kt b/android/src/main/java/io/parity/signer/domain/FeatureFlags.kt index a8825acb59..f91791cfc2 100644 --- a/android/src/main/java/io/parity/signer/domain/FeatureFlags.kt +++ b/android/src/main/java/io/parity/signer/domain/FeatureFlags.kt @@ -11,7 +11,6 @@ object FeatureFlags { FeatureOption.SKIP_UNLOCK_FOR_DEVELOPMENT -> false FeatureOption.SKIP_ROOTED_CHECK_EMULATOR -> false FeatureOption.EXPORT_SECRET_KEY -> false //unused - FeatureOption.ENABLE_DYNAMIC_DERIVATIONS -> true // enable for debug only FeatureOption.FAIL_DB_VERSION_CHECK -> false } @@ -23,7 +22,6 @@ object FeatureFlags { enum class FeatureOption { FAIL_DB_VERSION_CHECK, - ENABLE_DYNAMIC_DERIVATIONS, SKIP_UNLOCK_FOR_DEVELOPMENT, SKIP_ROOTED_CHECK_EMULATOR, EXPORT_SECRET_KEY; //unused as sample diff --git a/android/src/main/java/io/parity/signer/screens/scan/camera/CameraViewModel.kt b/android/src/main/java/io/parity/signer/screens/scan/camera/CameraViewModel.kt index 727c77d423..49da5c2453 100644 --- a/android/src/main/java/io/parity/signer/screens/scan/camera/CameraViewModel.kt +++ b/android/src/main/java/io/parity/signer/screens/scan/camera/CameraViewModel.kt @@ -139,31 +139,13 @@ class CameraViewModel() : ViewModel() { } is DecodeSequenceResult.DynamicDerivations -> { - if (FeatureFlags.isEnabled(FeatureOption.ENABLE_DYNAMIC_DERIVATIONS)) { - resetScanValues() - _dynamicDerivationPayload.value = payload.s - } else { - val context = ServiceLocator.appContext - Toast.makeText( - context, - "Dynamic derivations not supported yet", - Toast.LENGTH_LONG - ).show() - } + resetScanValues() + _dynamicDerivationPayload.value = payload.s } is DecodeSequenceResult.DynamicDerivationTransaction -> { - if (FeatureFlags.isEnabled(FeatureOption.ENABLE_DYNAMIC_DERIVATIONS)) { - resetScanValues() - _dynamicDerivationTransactionPayload.value = payload.s - } else { - val context = ServiceLocator.appContext - Toast.makeText( - context, - "Dynamic derivations not supported yet", - Toast.LENGTH_LONG - ).show() - } + resetScanValues() + _dynamicDerivationTransactionPayload.value = payload.s } }