diff --git a/.talismanrc b/.talismanrc index 8c12920152..6be78e3520 100644 --- a/.talismanrc +++ b/.talismanrc @@ -2,7 +2,7 @@ fileignoreconfig: - filename: package.json checksum: a5a22604f2b9d917adaf3561fdcaeccd4e69b92e1240070480d7498e1eda5162 - filename: package-lock.json - checksum: 910a3751a562d84a05a343bb4cc0f1639efb9ce7ae8dffbc662981fca3aa0d25 + checksum: 30d7382d644494812081e7902d619a38ca97ef86fb06dcac494b1d601e414228 - filename: components/PasscodeVerify.tsx checksum: 14654c0f038979fcd0d260170a45894a072f81e0767ca9a0e66935d33b5cc703 - filename: i18n.ts @@ -24,7 +24,11 @@ fileignoreconfig: - filename: screens/Home/IntroSlidersScreen.tsx checksum: 9ff212530850e9f921f91d406c01f67ea5dd2a44e9cdb5e63d977749c7a7c5bd - filename: machines/store.ts - checksum: fda6511ab88566820cf6b7324178b4646f495fae5168af73a0fb1c3bb52e5b8d + checksum: fda6511ab88566820cf6b7324178b4646f495fae5168af73a0fb1c3bb52e5b8d +- filename: machines/issuersMachine.ts + checksum: 37805c0e32765ed07ab54df230d6045679a0f5415eacdac3385fc27e9b298504 +- filename: machines/issuersMachine.typegen.ts + checksum: 35e8bfe7945b963edceb9b33532cbaf2ee8cb93356dda526e48f2a1e4efec865 - filename: screens/Home/MyVcs/IdInputModal.tsx checksum: 6f21b2caf20ee1821b69e178a69e755e0b1094275e4a9f9cb4ae5ab515ce5d23 - filename: screens/WelcomeScreenController.ts diff --git a/android/app/build.gradle b/android/app/build.gradle index 4b914efb4a..a34a12ec46 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -1,4 +1,4 @@ -plugins { +plugins { id 'com.gladed.androidgitversion' version '0.4.14' } @@ -105,9 +105,6 @@ android { } - namespace 'io.mosip.residentapp' - - namespace 'io.mosip.residentapp' defaultConfig { @@ -134,7 +131,7 @@ android { include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" } } - + signingConfigs { release { def keystore = file('release.keystore') @@ -236,7 +233,7 @@ dependencies { implementation 'com.facebook.fresco:animated-webp:2.0.0' } } - + compileOnly project(':react-native-android-location-services-dialog-box') implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { @@ -256,4 +253,4 @@ dependencies { } apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) -apply from: "./eas-build.gradle" \ No newline at end of file +apply from: "./eas-build.gradle" diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 4e96975dca..e025fa3e81 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -9,11 +9,8 @@ - - - diff --git a/android/settings.gradle b/android/settings.gradle index cf75b94c96..38e206ee8b 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -3,6 +3,7 @@ rootProject.name = 'Inji' apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) include ':app' includeBuild('../node_modules/react-native-gradle-plugin') - +include ':react-native-android-location-services-dialog-box' +project(':react-native-android-location-services-dialog-box').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-android-location-services-dialog-box/android') apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle") -useExpoModules() \ No newline at end of file +useExpoModules() diff --git a/components/PasscodeVerify.tsx b/components/PasscodeVerify.tsx index 0f58edc8c5..3bdac095b3 100644 --- a/components/PasscodeVerify.tsx +++ b/components/PasscodeVerify.tsx @@ -3,6 +3,11 @@ import {useTranslation} from 'react-i18next'; import {PinInput} from './PinInput'; import {hashData} from '../shared/commonUtil'; import {argon2iConfig} from '../shared/constants'; +import { + getErrorEventData, + sendErrorEvent, +} from '../shared/telemetry/TelemetryUtils'; +import {TelemetryConstants} from '../shared/telemetry/TelemetryConstants'; export const MAX_PIN = 6; @@ -32,6 +37,13 @@ export const PasscodeVerify: React.FC = props => { } } } catch (error) { + sendErrorEvent( + getErrorEventData( + TelemetryConstants.FlowType.appLogin, + TelemetryConstants.ErrorId.mismatch, + error, + ), + ); console.log('error:', error); } } diff --git a/components/ui/Loader.tsx b/components/ui/Loader.tsx index c23297ccec..e13d347b6b 100644 --- a/components/ui/Loader.tsx +++ b/components/ui/Loader.tsx @@ -64,7 +64,33 @@ export const Loader: React.FC = props => { /> + {(props.isHintVisible || props.isBleErrorVisible) && ( + + + {props.hint} + + {props.onStayInProgress && ( +