Skip to content

Commit

Permalink
Fix(INJI-431): Resolved that UI would support all screen sizes(folded…
Browse files Browse the repository at this point in the history
…-devices) & fixed language translation issues. (#920)

* fix(MOSIP-29275): make usesCleartextTraffic to false for more secure communication (#886)

* fix(MOSIP-29275): make usesCleartextTraffic to false for more secure communications

* fix(MOSIP-29275): override usesCleartextTraffic to false in main manifest

---------

Signed-off-by: Swati Goel <[email protected]>
Co-authored-by: Swati Goel <[email protected]>
Signed-off-by: anil_majji <[email protected]>

* MOSIP-29698 (#891)

Signed-off-by: anil_majji <[email protected]>

* Inji-409: debugging setup fix (#893)

* feat(inji-400): update package-lock.json

* feat(inji-400): move flipper config to separate file from app.ts

Signed-off-by: anil_majji <[email protected]>

* feat(inji-398): enable cleartextTrafficPermitted in debug mode (#895)

Signed-off-by: anil_majji <[email protected]>

* fix(INJI-397)error message for deleted vcfile (#875)

* fix(INJI-397)error message for deleted vcfile

* fix(INJI-397)refactor:log activity event

* fix(INJI-397)refactor:log activity event

* fix(INJI-397)refactor:comparing VCMetadata

Signed-off-by: anil_majji <[email protected]>

* fix(MOSIP-29272): remove paste option for pin inputs (#894)

Signed-off-by: anil_majji <[email protected]>

* Test runner support to run jar MOSIP-29698 (#898)

* MOSIP-29698

* Test runner support to run jar MOSIP-29698

* Update TestData.json

Signed-off-by: neeharikatech <[email protected]>

---------

Signed-off-by: neeharikatech <[email protected]>
Signed-off-by: anil_majji <[email protected]>

* feat(inji-406): add logs for debugging tampered vc issues (#900)

Signed-off-by: anil_majji <[email protected]>

* Adjusted bottom tab for different screen sizes

Signed-off-by: anil_majji <[email protected]>

* Added responsive bottom line for ID input

Signed-off-by: anil_majji <[email protected]>

* Updated the missing texts with case sensitive

Signed-off-by: anil_majji <[email protected]>

* Removed unused button text in Welcome screen

Signed-off-by: anil_majji <[email protected]>

---------

Signed-off-by: Swati Goel <[email protected]>
Signed-off-by: anil_majji <[email protected]>
Signed-off-by: neeharikatech <[email protected]>
Co-authored-by: Sreenadh S <[email protected]>
Co-authored-by: Swati Goel <[email protected]>
Co-authored-by: neeharikatech <[email protected]>
Co-authored-by: Tilak Puli <[email protected]>
Co-authored-by: srikanth716 <[email protected]>
  • Loading branch information
6 people authored Oct 13, 2023
1 parent 0537cf6 commit 27e2f07
Show file tree
Hide file tree
Showing 18 changed files with 154 additions and 150 deletions.
5 changes: 3 additions & 2 deletions components/VC/MosipVCItem/MosipVCItemActivationStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ const WalletUnverifiedIcon: React.FC = () => {
size={Theme.ICON_MID_SIZE}
type="material-community"
containerStyle={{
marginStart: 10,
marginStart: 1,
marginEnd: 1,
bottom: 1,
marginLeft: 10,
marginRight: -2,
}}
/>
);
Expand Down
6 changes: 3 additions & 3 deletions components/VC/MosipVCItem/MosipVCItemDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ export const MosipVCItemDetails: React.FC<
}

return (
<Column margin="10">
<Column margin="10 0 10 0">
<ImageBackground
imageStyle={{width: '100%'}}
resizeMethod="scale"
resizeMode="stretch"
style={Theme.Styles.openCardBgContainer}
source={Theme.OpenCard}>
<Row align="space-between" padding="10" margin="0 10 0 10">
<Row align="space-between" padding="10" margin="0 10 0 8">
<Column align="space-evenly" crossAlign="center">
<Image
source={getProfileImage(
Expand Down Expand Up @@ -198,7 +198,7 @@ export const MosipVCItemDetails: React.FC<
</Text>
</Column>
</Column>
<Column margin="0 0 0 40">
<Column margin="0 0 0 38">
<Column margin="20 0 0 0">
<Text
testID="dateOfBirth"
Expand Down
25 changes: 20 additions & 5 deletions components/ui/themes/DefaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export const DefaultTheme = {
VerifiedIcon: Colors.Green,
whiteText: Colors.White,
flipCameraIcon: Colors.Black,
IdInputModalBorder: Colors.Grey,
RetrieveIdLabel: Colors.ShadeOfGrey,
inputSelection: Colors.Orange,
checkCircleIcon: Colors.White,
Expand Down Expand Up @@ -177,8 +176,8 @@ export const DefaultTheme = {
cardDetailsContainer: {},
bottomTabIconStyle: {
padding: 4,
width: 36,
height: 36,
width: Dimensions.get('window').width * 0.12,
height: Dimensions.get('window').height * 0.045,
borderRadius: 6,
backgroundColor: Colors.LightOrange,
},
Expand Down Expand Up @@ -226,8 +225,8 @@ export const DefaultTheme = {
height: 30,
backgroundColor: Colors.Grey,
marginVertical: 8,
marginLeft: -45,
marginRight: 22,
marginLeft: -35,
marginRight: 15,
},
closeCardBgContainer: {
borderRadius: 10,
Expand Down Expand Up @@ -492,6 +491,22 @@ export const DefaultTheme = {
fontSize: 15,
fontFamily: 'Inter_700Bold',
},
idInputContainer: {
marginTop: 20,
marginRight: Dimensions.get('window').width * 0.26,
},
idInputPicker: {
width: Dimensions.get('window').width * 0.32,
borderBottomWidth: 1,
marginBottom: 2,
borderColor: Platform.OS === 'ios' ? 'transparent' : Colors.Grey,
bottom: Platform.OS === 'ios' ? 50 : 24,
height: Platform.OS === 'ios' ? 100 : 'auto',
},
idInputBottom: {
borderBottomColor: Colors.Orange,
borderBottomWidth: 1,
},
getId: {
justifyContent: 'center',
alignItems: 'center',
Expand Down
25 changes: 20 additions & 5 deletions components/ui/themes/PurpleTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export const PurpleTheme = {
VerifiedIcon: Colors.Green,
whiteText: Colors.White,
flipCameraIcon: Colors.Black,
IdInputModalBorder: Colors.Grey,
RetrieveIdLabel: Colors.ShadeOfGrey,
inputSelection: Colors.Purple,
checkCircleIcon: Colors.White,
Expand Down Expand Up @@ -179,8 +178,8 @@ export const PurpleTheme = {
cardDetailsContainer: {},
bottomTabIconStyle: {
padding: 4,
width: 36,
height: 36,
width: Dimensions.get('window').width * 0.12,
height: Dimensions.get('window').height * 0.045,
borderRadius: 6,
backgroundColor: Colors.LightPurple,
},
Expand Down Expand Up @@ -228,8 +227,8 @@ export const PurpleTheme = {
height: 30,
backgroundColor: Colors.Grey,
marginVertical: 8,
marginLeft: -45,
marginRight: 22,
marginLeft: -35,
marginRight: 15,
},
closeCardBgContainer: {
borderRadius: 10,
Expand Down Expand Up @@ -494,6 +493,22 @@ export const PurpleTheme = {
fontSize: 15,
fontFamily: 'Inter_700Bold',
},
idInputContainer: {
marginTop: 20,
marginRight: Dimensions.get('window').width * 0.26,
},
idInputPicker: {
width: Dimensions.get('window').width * 0.32,
borderBottomWidth: 1,
marginBottom: 2,
borderColor: Platform.OS === 'ios' ? 'transparent' : Colors.Grey,
bottom: Platform.OS === 'ios' ? 50 : 24,
height: Platform.OS === 'ios' ? 100 : 'auto',
},
idInputBottom: {
borderBottomColor: Colors.Orange,
borderBottomWidth: 1,
},
getId: {
justifyContent: 'center',
alignItems: 'center',
Expand Down
13 changes: 6 additions & 7 deletions locales/ara.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"VC_RECEIVED_BUT_PRESENCE_VERIFICATION_FAILED": "الواردة. فشل التحقق من التواجد",
"PRESENCE_VERIFIED_AND_VC_SHARED": "التحقق منها ومشاركتها",
"PRESENCE_VERIFICATION_FAILED": "فشل التحقق",
"QRLOGIN_SUCCESFULL": "QRL تم تسجيل الدخول بنجاح",
"QRLOGIN_SUCCESFULL": "QR تم تسجيل الدخول بنجاح",
"WALLET_BINDING_SUCCESSFULL": "تفعيل ناجحة",
"WALLET_BINDING_FAILURE": "فشل التفعيل",
"VC_REMOVED": "تمت إزالته من المحفظة",
Expand Down Expand Up @@ -358,7 +358,7 @@
"version": "الإصدار",
"useBle": "مدعوم من BLE"
},
"QrScreen": {
"QrLogin": {
"title": "QR تسجيل الدخول",
"alignQr": "قم بمحاذاة رمز الاستجابة السريعة داخل الإطار للمسح الضوئي",
"confirmation": "تأكيد",
Expand All @@ -375,8 +375,8 @@
"domainWarning": "يرجى تأكيد مجال موقع الويب الذي تقوم بمسح رمز الاستجابة السريعة منه على النحو التالي",
"access": " يطلب الوصول إلى",
"status": "حالة",
"successMessage": "لقد قمت بتسجيل الدخول بنجاح ",
"okay": "تمام",
"successMessage": "لقد تم تسجيل دخولك بنجاح ",
"ok": "نعم",
"allow": "يسمح",
"cancel": "يلغي",
"essentialClaims": "الادعاءات الأساسية",
Expand Down Expand Up @@ -457,7 +457,7 @@
},
"ScanScreen": {
"header": "مسح رمز الاستجابة السريعة",
"noShareableVcs": "لا تتوفر بطاقات قابلة للمشاركة.",
"noShareableVcs": "لا تتوفر بطاقات قابلة للمشاركة",
"bluetoothStateAndroid": "يرجى تشغيل البلوتوث من الإعدادات السريعة لدعم المشاركة المحلية",
"bluetoothStateIos": "يرجى تشغيل البلوتوث من مركز التحكم لدعم المشاركة المحلية",
"enableBluetoothMessage": "يرجى تمكين أذونات البلوتوث لدعم المشاركة المحلية",
Expand Down Expand Up @@ -560,8 +560,7 @@
},
"WelcomeScreen": {
"title": "حل هوية مفتوحة المصدر",
"getStarted": "البدء",
"unlockApp": "فتح التطبيق",
"unlockApplication": "فتح التطبيق",
"failedToReadKeys": "فشلت قراءة المفاتيح",
"retryRead": "هل تريد إعادة المحاولة؟",
"errors": {
Expand Down
15 changes: 7 additions & 8 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
"version": "Version",
"useBle": "Powered by BLE"
},
"QrScreen": {
"QrLogin": {
"title": "QR Login",
"alignQr": "Align the QR code within the frame to scan",
"confirmation": "Confirmation",
Expand All @@ -382,8 +382,8 @@
"domainWarning": "Please confirm the domain of the website you are scanning the QR code from below",
"access": " is requesting access to",
"status": "Status",
"successMessage": "You are successfully logged in ",
"okay": "All right",
"successMessage": "You are successfully logged in to ",
"ok": "OK",
"allow": "Allow",
"cancel": "Cancel",
"essentialClaims": "Important Claims",
Expand Down Expand Up @@ -464,7 +464,7 @@
},
"ScanScreen": {
"header": "Scan QR Code",
"noShareableVcs": "No shareable card are available.",
"noShareableVcs": "No shareable cards are available.",
"sharingVc": "Sharing card",
"bluetoothStateIos": "Bluetooth is turned OFF, please turn it ON from Control center",
"bluetoothStateAndroid": "Bluetooth is turned OFF, please turn it ON from Quick settings menu",
Expand Down Expand Up @@ -567,18 +567,17 @@
},
"WelcomeScreen": {
"title": "Open Source Identity Solution",
"getStarted": "Get started",
"unlockApp": "Unlock application",
"unlockApplication": "Unlock Application",
"failedToReadKeys": "Failed to read keys",
"retryRead": "Want to retry?",
"ignore": "Ignore",
"errors": {
"decryptionFailed": "Failed to decrypt data",
"invalidateKeyError": {
"title": "App was Reset",
"message": "Due to the fingerprint / facial recognition update, app security was impacted, and downloaded cards were removed. Please download again."
}
}
},
"ignore": "Ignore"
},
"SetupLanguage": {
"header": "Choose Language",
Expand Down
11 changes: 5 additions & 6 deletions locales/fil.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
"version": "Bersyon",
"useBle": "Pinapatakbo ng BLE"
},
"QrScreen": {
"QrLogin": {
"title": "QR Login",
"alignQr": "I-align ang QR code sa loob ng frame para i-scan",
"confirmation": "Kumpirmasyon",
Expand All @@ -374,8 +374,8 @@
"domainWarning": "Pakikumpirma ang domain ng website kung saan mo ini-scan ang QR code mula sa ibaba",
"access": " ay humihiling ng access sa",
"status": "Katayuan",
"successMessage": "Ikaw ay Matagumpay na Naka-log In ",
"okay": "Sige",
"successMessage": "Matagumpay kang naka-log in sa ",
"ok": "OK",
"allow": "Payagan",
"cancel": "Kanselahin",
"essentialClaims": "Mahahalagang Claim",
Expand Down Expand Up @@ -460,7 +460,7 @@
},
"ScanScreen": {
"header": "I-scan ang QR Code",
"noShareableVcs": "Walang magagamit na maibabahaging card..",
"noShareableVcs": "Walang magagamit na mga card na maibabahagi.",
"sharingVc": "Pagbabahagi ng card",
"bluetoothStateIos": "Naka-OFF ang Bluetooth, paki-ON ito mula sa control center",
"bluetoothStateAndroid": "Naka-OFF ang Bluetooth, paki-ON ito mula sa control center",
Expand Down Expand Up @@ -563,8 +563,7 @@
},
"WelcomeScreen": {
"title": "Open Source Identity Solution",
"getStarted": "Magsimula",
"unlockApp": "Buksan ang aplikasyon",
"unlockApplication": "I-unlock ang Application",
"failedToReadKeys": "Nabigong basahin ang mga susi",
"retryRead": "Gustong subukang muli?",
"errors": {
Expand Down
13 changes: 6 additions & 7 deletions locales/hin.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
"stepThreeText": "परेशानी मुक्त तरीके से अपने कार्ड सुरक्षित रूप से साझा करें और विभिन्न सेवाओं का लाभ उठाएं।",
"stepFourTitle": "परेशानी मुक्त प्रमाणीकरण",
"stepFourText": "संग्रहीत डिजिटल क्रेडेंशियल का उपयोग करके आसानी से स्वयं को प्रमाणित करें।",
"getStarted": "शुरू करें",
"getStarted": "शुरू हो जाओ",
"goBack": "वापस जाओ",
"back": "पीछे",
"skip": "छोडना",
Expand Down Expand Up @@ -357,7 +357,7 @@
"version": "संस्करण",
"useBle": "BLE द्वारा संचालित"
},
"QrScreen": {
"QrLogin": {
"title": "क्यूआर लॉगिन",
"alignQr": "स्कैन करने के लिए फ्रेम के भीतर क्यूआर कोड को संरेखित करें",
"confirmation": "पुष्टीकरण",
Expand All @@ -374,8 +374,8 @@
"domainWarning": "कृपया उस वेबसाइट के डोमेन की पुष्टि करें जिसे आप नीचे दिए गए क्यूआर कोड से स्कैन कर रहे हैं",
"access": " तक पहुंच का अनुरोध कर रहा है",
"status": "दर्जा",
"successMessage": "आपने सफलतापूर्वक लॉग इन कर लिया है ",
"okay": "ठीक",
"successMessage": "आप सफलतापूर्वक लॉग इन हो गए हैं ",
"ok": "ठीक है",
"allow": "अनुमति देना",
"cancel": "रद्द करना",
"essentialClaims": "आवश्यक दावे",
Expand Down Expand Up @@ -458,7 +458,7 @@
},
"ScanScreen": {
"header": "स्कैन क्यू आर कोड",
"noShareableVcs": "कोई साझा करने योग्य कार्ड उपलब्ध नहीं है",
"noShareableVcs": "कोई साझा करने योग्य कार्ड उपलब्ध नहीं हैं",
"sharingVc": "कार्ड साझा करना",
"bluetoothStateIos": "ब्लूटूथ बंद है, कृपया इसे नियंत्रण केंद्र से चालू करें",
"bluetoothStateAndroid": "ब्लूटूथ बंद है, कृपया इसे त्वरित सेटिंग मेनू से चालू करें",
Expand Down Expand Up @@ -561,8 +561,7 @@
},
"WelcomeScreen": {
"title": "ओपन सोर्स आइडेंटिटी सॉल्यूशन",
"getStarted": "आरंभ करें",
"unlockApp": "एप्लिकेशन अनलॉक करें",
"unlockApplication": "एप्लिकेशन अनलॉक करें",
"failedToReadKeys": "कुंजियाँ पढ़ने में विफल",
"retryRead": "पुनः प्रयास करना चाहते हैं?",
"errors": {
Expand Down
9 changes: 4 additions & 5 deletions locales/kan.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
"version": "ಆವೃತ್ತಿ",
"useBle": "BLE ನಿಂದ ನಡೆಸಲ್ಪಡುತ್ತಿದೆ"
},
"QrScreen": {
"QrLogin": {
"title": "QR ಲಾಗಿನ್",
"alignQr": "ಸ್ಕ್ಯಾನ್ ಮಾಡಲು ಚೌಕಟ್ಟಿನೊಳಗೆ QR ಕೋಡ್ ಅನ್ನು ಹೊಂದಿಸಿ",
"confirmation": "ದೃಢೀಕರಣ",
Expand All @@ -372,7 +372,7 @@
"access": " ಗೆ ಪ್ರವೇಶವನ್ನು ವಿನಂತಿಸುತ್ತಿದೆ",
"status": "ಸ್ಥಿತಿ",
"successMessage": "ನೀವು ಯಶಸ್ವಿಯಾಗಿ ಲಾಗ್ ಇನ್ ಆಗಿರುವಿರಿ ",
"okay": "ಸರಿ",
"ok": "ಸರಿ",
"allow": "ಅನುಮತಿಸಿ",
"cancel": "ರದ್ದುಮಾಡು",
"essentialClaims": "ಅಗತ್ಯ ಹಕ್ಕುಗಳು",
Expand Down Expand Up @@ -455,7 +455,7 @@
},
"ScanScreen": {
"header": "QR ಕೋಡ್ ಅನ್ನು ಸ್ಕ್ಯಾನ್ ಮಾಡಿ",
"noShareableVcs": "ಯಾವುದೇ ಹಂಚಿಕೊಳ್ಳಬಹುದಾದ ಕಾರ್ಡ್ ಲಭ್ಯವಿಲ್ಲ.",
"noShareableVcs": "ಹಂಚಿಕೊಳ್ಳಬಹುದಾದ ಯಾವುದೇ ಕಾರ್ಡ್‌ಗಳು ಲಭ್ಯವಿಲ್ಲ.",
"sharingVc": "ಕಾರ್ಡ್ ಹಂಚಿಕೊಳ್ಳಲಾಗುತ್ತಿದೆ",
"bluetoothStateIos": "ಬ್ಲೂಟೂತ್ ಆಫ್ ಆಗಿದೆ, ದಯವಿಟ್ಟು ಅದನ್ನು ನಿಯಂತ್ರಣ ಕೇಂದ್ರದಿಂದ ಆನ್ ಮಾಡಿ",
"bluetoothStateAndroid": "ಬ್ಲೂಟೂತ್ ಆಫ್ ಆಗಿದೆ, ದಯವಿಟ್ಟು ತ್ವರಿತ ಸೆಟ್ಟಿಂಗ್‌ಗಳ ಮೆನುವಿನಿಂದ ಅದನ್ನು ಆನ್ ಮಾಡಿ",
Expand Down Expand Up @@ -558,8 +558,7 @@
},
"WelcomeScreen": {
"title": "ಓಪನ್ ಸೋರ್ಸ್ ಐಡೆಂಟಿಟಿ ಸೊಲ್ಯೂಷನ್",
"getStarted": "ಪ್ರಾರಂಭಿಸಿ",
"unlockApp": "ಅಪ್ಲಿಕೇಶನ್ ಅನ್ಲಾಕ್ ಮಾಡಿ",
"unlockApplication": "ಅಪ್ಲಿಕೇಶನ್ ಅನ್ಲಾಕ್ ಮಾಡಿ",
"failedToReadKeys": "ಕೀಗಳನ್ನು ಓದಲು ವಿಫಲವಾಗಿದೆ",
"retryRead": "ಮರುಪ್ರಯತ್ನಿಸಲು ಬಯಸುವಿರಾ?",
"errors": {
Expand Down
Loading

0 comments on commit 27e2f07

Please sign in to comment.