mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 05:27:57 -05:00
[INJIMOB-3390] refactor: update OVP wrapper as per library contract change (#2022)
* [INJIMOB-3390] refactor: update WalletMetadat's vpFormatsSupported - [VPFormatType: VPFormatSupported] Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] fix: fallback metadata to support presentation_definition_uri Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] refactor: rename fallbackWalletMetadata -> walletMetadata Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] add: pass responseTYpesSupported to OVP walletMetadata Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3388]: update the bridge code to add new parameters for walletmetadata Signed-off-by: Alka <prasadalka1998@gmail.com> * [INJIMOB-3390]: Resolve latest develop from swift library Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3388]: remove logging Signed-off-by: Alka <prasadalka1998@gmail.com> * [INJIMOB-3418]:content update in the TrustScreen of Credential Offer Signed-off-by: Alka <prasadalka1998@gmail.com> * [INJIMOB-3390]: Update issuerHost in VcMetadata Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3390]: Update condition in VCMetadata Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3390]: Update OVP library swift to point release-0.4.x Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> --------- Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> Signed-off-by: Alka <prasadalka1998@gmail.com> Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> Co-authored-by: Alka <prasadalka1998@gmail.com> Co-authored-by: balachandarg-tw <balachandar.g@thoughtworks.com>
This commit is contained in:
committed by
GitHub
parent
5305e7d7ea
commit
798bf1944f
@@ -672,8 +672,8 @@ export const DefaultTheme = {
|
||||
},
|
||||
introSliderHeader: {
|
||||
marginTop: isIOS()
|
||||
? Constants.statusBarHeight + 40
|
||||
: StatusBar.currentHeight + 40,
|
||||
? Constants.statusBarHeight + 40
|
||||
: StatusBar.currentHeight + 40,
|
||||
width: '100%',
|
||||
marginBottom: 50,
|
||||
},
|
||||
@@ -2005,6 +2005,7 @@ export const DefaultTheme = {
|
||||
backgroundColor: '#fff',
|
||||
borderRadius: 20,
|
||||
width: '100%',
|
||||
height: 470,
|
||||
padding: 20,
|
||||
alignItems: 'center',
|
||||
},
|
||||
@@ -2028,31 +2029,57 @@ export const DefaultTheme = {
|
||||
color: '#666',
|
||||
textAlign: 'center',
|
||||
lineHeight: 20,
|
||||
marginBottom: 24,
|
||||
marginBottom: 16,
|
||||
},
|
||||
infoContainer: {
|
||||
width: '100%',
|
||||
marginBottom: 10,
|
||||
},
|
||||
infoItem: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'flex-start',
|
||||
marginBottom: 6,
|
||||
paddingHorizontal: 4,
|
||||
},
|
||||
info: {
|
||||
fontSize: 14,
|
||||
color: '#666',
|
||||
marginRight: 8,
|
||||
marginTop: 1,
|
||||
},
|
||||
infoText: {
|
||||
flex: 1,
|
||||
fontSize: 14,
|
||||
color: '#666',
|
||||
lineHeight: 18,
|
||||
},
|
||||
buttonText: {
|
||||
textAlign: 'center',
|
||||
flexWrap: 'wrap',
|
||||
},
|
||||
}),
|
||||
|
||||
AuthWebViewScreenStyle: StyleSheet.create({
|
||||
header: {
|
||||
height: 56,
|
||||
paddingHorizontal: 16,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
backgroundColor: '#F5F5F5',
|
||||
borderBottomWidth: 1,
|
||||
borderColor: '#E0E0E0',
|
||||
height: 56,
|
||||
paddingHorizontal: 16,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
backgroundColor: '#F5F5F5',
|
||||
borderBottomWidth: 1,
|
||||
borderColor: '#E0E0E0',
|
||||
},
|
||||
headerText: {
|
||||
fontSize: 18,
|
||||
fontWeight: '500',
|
||||
fontSize: 18,
|
||||
fontWeight: '500',
|
||||
},
|
||||
loader: {
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
},
|
||||
}),
|
||||
}),
|
||||
|
||||
ICON_SMALL_SIZE: 16,
|
||||
ICON_MID_SIZE: 22,
|
||||
@@ -2093,7 +2120,7 @@ export const DefaultTheme = {
|
||||
}
|
||||
|
||||
const [top, end, bottom, start] =
|
||||
typeof values === 'string' ? values.split(' ').map(Number) : values;
|
||||
typeof values === 'string' ? values.split(' ').map(Number) : values;
|
||||
|
||||
return {
|
||||
[`${type}Top`]: top,
|
||||
@@ -2121,4 +2148,4 @@ function generateBoxShadowStyle() {
|
||||
elevation: 4,
|
||||
shadowColor: '#000',
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -678,8 +678,8 @@ export const PurpleTheme = {
|
||||
},
|
||||
introSliderHeader: {
|
||||
marginTop: isIOS()
|
||||
? Constants.statusBarHeight + 40
|
||||
: StatusBar.currentHeight + 40,
|
||||
? Constants.statusBarHeight + 40
|
||||
: StatusBar.currentHeight + 40,
|
||||
width: '100%',
|
||||
marginBottom: 50,
|
||||
},
|
||||
@@ -2007,6 +2007,7 @@ export const PurpleTheme = {
|
||||
backgroundColor: '#fff',
|
||||
borderRadius: 20,
|
||||
width: '100%',
|
||||
height: 470,
|
||||
padding: 20,
|
||||
alignItems: 'center',
|
||||
},
|
||||
@@ -2030,31 +2031,57 @@ export const PurpleTheme = {
|
||||
color: '#666',
|
||||
textAlign: 'center',
|
||||
lineHeight: 20,
|
||||
marginBottom: 24,
|
||||
marginBottom: 16,
|
||||
},
|
||||
infoContainer: {
|
||||
width: '100%',
|
||||
marginBottom: 10,
|
||||
},
|
||||
infoItem: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'flex-start',
|
||||
marginBottom: 6,
|
||||
paddingHorizontal: 4,
|
||||
},
|
||||
info: {
|
||||
fontSize: 14,
|
||||
color: '#666',
|
||||
marginRight: 8,
|
||||
marginTop: 1,
|
||||
},
|
||||
infoText: {
|
||||
flex: 1,
|
||||
fontSize: 14,
|
||||
color: '#666',
|
||||
lineHeight: 18,
|
||||
},
|
||||
buttonText: {
|
||||
textAlign: 'center',
|
||||
flexWrap: 'wrap',
|
||||
},
|
||||
}),
|
||||
|
||||
AuthWebViewScreenStyle: StyleSheet.create({
|
||||
header: {
|
||||
height: 56,
|
||||
paddingHorizontal: 16,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
backgroundColor: '#F5F5F5',
|
||||
borderBottomWidth: 1,
|
||||
borderColor: '#E0E0E0',
|
||||
height: 56,
|
||||
paddingHorizontal: 16,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
backgroundColor: '#F5F5F5',
|
||||
borderBottomWidth: 1,
|
||||
borderColor: '#E0E0E0',
|
||||
},
|
||||
headerText: {
|
||||
fontSize: 18,
|
||||
fontWeight: '500',
|
||||
fontSize: 18,
|
||||
fontWeight: '500',
|
||||
},
|
||||
loader: {
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
},
|
||||
}),
|
||||
}),
|
||||
|
||||
ICON_SMALL_SIZE: 16,
|
||||
ICON_MID_SIZE: 22,
|
||||
@@ -2095,7 +2122,7 @@ export const PurpleTheme = {
|
||||
}
|
||||
|
||||
const [top, end, bottom, start] =
|
||||
typeof values === 'string' ? values.split(' ').map(Number) : values;
|
||||
typeof values === 'string' ? values.split(' ').map(Number) : values;
|
||||
|
||||
return {
|
||||
[`${type}Top`]: top,
|
||||
@@ -2123,4 +2150,4 @@ function generateBoxShadowStyle() {
|
||||
elevation: 4,
|
||||
shadowColor: '#000',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user