Merge pull request #1623 from tw-mosip/injimob-2048

[INJIMOB-2048] fix toogle biometric not working after inji tour guide and update workflow to use java17
This commit is contained in:
Chandra Keshav Mishra
2024-09-24 18:38:29 +05:30
committed by GitHub
5 changed files with 11 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ jobs:
uses: mosip/kattu/.github/workflows/android-build.yml@master
with:
NODE_VERSION: "16.x"
JAVA_VERSION: '17'
MIMOTO_HOST: ${{ inputs.mimotoBackendServiceUrl }}
ESIGNET_HOST: ${{ inputs.esignetBackendServiceUrl }}
APPLICATION_THEME: ${{ inputs.theme }}

View File

@@ -105,6 +105,7 @@ jobs:
with:
RELEASE: ${{ inputs.release }}
NODE_VERSION: '18.x'
JAVA_VERSION: '17'
RELEASE_KEYSTORE_ALIAS: androidreleasekey
MIMOTO_HOST: ${{ inputs.mimotoBackendServiceUrl }}
ESIGNET_HOST: ${{ inputs.esignetBackendServiceUrl }}
@@ -132,6 +133,7 @@ jobs:
with:
RELEASE: ${{ inputs.release }}
NODE_VERSION: '18.x'
JAVA_VERSION: '17'
RELEASE_KEYSTORE_ALIAS: androidreleasekey
MIMOTO_HOST: ${{ inputs.mimotoBackendServiceUrl }}
ESIGNET_HOST: ${{ inputs.esignetBackendServiceUrl }}

View File

@@ -22,6 +22,7 @@ jobs:
uses: mosip/kattu/.github/workflows/android-build.yml@master
with:
NODE_VERSION: "18.x"
JAVA_VERSION: "17"
KEYSTORE_ALIAS: androidbuildkey
KEYSTORE_PASSWORD: 'password'
SERVICE_LOCATION: '.'

View File

@@ -4,10 +4,12 @@ import {useTranslation} from 'react-i18next';
import {UseCopilotTooltip} from './CopilotTooltipController';
import {Theme} from './ui/styleUtils';
import {COPILOT_FINAL_STEP, COPILOT_PRE_FINAL_STEP} from '../shared/constants';
import { useSettingsScreen } from '../screens/Settings/SettingScreenController';
export const CopilotTooltip = () => {
const {t} = useTranslation('copilot');
const controller = UseCopilotTooltip();
const settingsController= useSettingsScreen();
controller.copilotEvents.on('stop', () => {
controller.SET_TOUR_GUIDE(false);
@@ -23,6 +25,7 @@ export const CopilotTooltip = () => {
) {
controller.INITIAL_DOWNLOAD_DONE();
}
settingsController.BACK()
});
return (

View File

@@ -177,6 +177,10 @@ export function useSettingsScreen(props: RootRouteProps & RequestRouteProps) {
start();
},
BACK: () => {
settingsService.send(SettingsEvents.BACK());
},
TOGGLE_BIOMETRIC: (enable: boolean) => {
settingsService.send(
SettingsEvents.TOGGLE_BIOMETRIC_UNLOCK(enable, true),