mise ajour nano santé

This commit is contained in:
Novic-Djef 2023-10-10 14:30:27 +01:00
parent 1eb1d1cec3
commit dfd62a6652
91 changed files with 366 additions and 270 deletions

View File

@ -119,6 +119,7 @@ def jscFlavor = 'org.webkit:android-jsc:+'
*/
def enableHermes = project.ext.react.get("enableHermes", false);
def ktx_version = "1.6.0"
android {
ndkVersion rootProject.ext.ndkVersion
@ -197,6 +198,7 @@ android {
}
dependencies {
implementation("androidx.core:core-ktx:$ktx_version")
implementation project(':react-native-onesignal')
implementation project(':react-native-maps')
implementation fileTree(dir: "libs", include: ["*.jar"])
@ -207,6 +209,7 @@ dependencies {
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}
implementation "androidx.core:core-ktx:1.6.0"
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
exclude group:'com.facebook.flipper'
exclude group:'com.squareup.okhttp3', module:'okhttp'

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 925 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 925 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 953 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

View File

@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
android:height="108dp"
android:width="108dp"
android:viewportHeight="108"
android:viewportWidth="108"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#008577"
android:pathData="M0,0h108v108h-108z"/>
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
</vector>

View File

@ -1,12 +1,14 @@
buildscript {
ext {
androidXCore = "1.6.0"
androidXCore = "1.6.0"
buildToolsVersion = "30.0.2"
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 30
kotlinVersion = "1.5.31"
ndkVersion = "20.1.5948944"
supportLibVersion = "28"
// kotlin_version = '1.6.10'
}
repositories {
google()
@ -14,9 +16,10 @@ buildscript {
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
dependencies {
classpath('com.android.tools.build:gradle:4.2.1')
//classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}

View File

@ -516,7 +516,7 @@ class Home extends BaseScreen {
if (c.length > 0 && pays) {
this.setState({filternetwork: c[0], myNetwork: c[0], filternetworkTemp: c[0]})
this.retrieveAllPoint(pays)
// this.retrieveAllPoint(pays)
} else {
if (this.state.user) {
@ -1739,7 +1739,7 @@ class Home extends BaseScreen {
translucent={true}
/>
{/* Start here to comment */}
{
{/* {
(this.state.loadingDialog || this.props.loading) ?
<View
style={{
@ -1760,7 +1760,7 @@ class Home extends BaseScreen {
fontWeight: 'bold'
}}>{I18n.t("LOADING_DOTS")}</Text>
</View> : null
}
} */}
<IMap
ref={(re) => {
this.map = re
@ -2468,98 +2468,98 @@ class Home extends BaseScreen {
</TouchableOpacity>)
}
retrieveAllPoint(dial_code) {
/* let markers= this.markerManager.getLocalMarkers()
console.log( markers.length)
if(markers.length>0){
console.debug("load from local")
for (let p of markers) {
console.log(` ${p.lastname}`);
}
this.markerManager.close();
// retrieveAllPoint(dial_code) {
// /* let markers= this.markerManager.getLocalMarkers()
// console.log( markers.length)
// if(markers.length>0){
// console.debug("load from local")
// for (let p of markers) {
// console.log(` ${p.lastname}`);
// }
// this.markerManager.close();
this.setState({allpoint: [], loadingDialog: false})
}else*/
getMakersFrom(dial_code).then((data) => {
new Promise((resolve, reject) => {
try {
const ds = data.datas
this.setState({allpoint: ds, loadingDialog: false})
// this.setState({allpoint: [], loadingDialog: false})
// }else*/
// getMakersFrom(dial_code).then((data) => {
// new Promise((resolve, reject) => {
// try {
// const ds = data.datas
// this.setState({allpoint: ds, loadingDialog: false})
resolve(ds)
} catch (e) {
//Crashlytics.log(e.message)
console.warn(e.message)
reject(new Error(e.message))
}
}).then((ds) => {
// this.markerManager.insertMarkers(ds).then((res)=>{console.warn(res)})
this.onLoadMore()
}).catch((e) => {
this.setState({loadingDialog: false})
//Crashlytics.log(e.message)
console.log("on get marker")
// resolve(ds)
// } catch (e) {
// //Crashlytics.log(e.message)
// console.warn(e.message)
// reject(new Error(e.message))
// }
// }).then((ds) => {
// // this.markerManager.insertMarkers(ds).then((res)=>{console.warn(res)})
// this.onLoadMore()
// }).catch((e) => {
// this.setState({loadingDialog: false})
// //Crashlytics.log(e.message)
// console.log("on get marker")
Alert.alert(
I18n.t("UNABLE_TO_CONNECT_TITLE"),
I18n.t('TEXT_NETWORK_UNABLE')
,
[
{
text: I18n.t("NO"), onPress: () => {
BackHandler.exitApp()
}
},
{
text: I18n.t("YES"), onPress: () => {
this.setState({loadingDialog: true})
if (dial_code !== null && dial_code !== undefined)
this.retrieveAllPoint(dial_code)
else
this.requestCameraPermission()
}
}
// Alert.alert(
// I18n.t("UNABLE_TO_CONNECT_TITLE"),
// I18n.t('TEXT_NETWORK_UNABLE')
// ,
// [
// {
// text: I18n.t("NO"), onPress: () => {
// BackHandler.exitApp()
// }
// },
// {
// text: I18n.t("YES"), onPress: () => {
// this.setState({loadingDialog: true})
// if (dial_code !== null && dial_code !== undefined)
// this.retrieveAllPoint(dial_code)
// else
// this.requestCameraPermission()
// }
// }
],
{cancelable: false}
)
})
// ],
// {cancelable: false}
// )
// })
}).catch((e) => {
console.log("on retreive>getmarkers", e.message)
// }).catch((e) => {
// console.log("on retreive>getmarkers", e.message)
this.setState({loadingDialog: false})
if (this.state.allpoint.length <= 0) {
console.log("no point")
Alert.alert(
I18n.t("UNABLE_TO_CONNECT_TITLE"),
I18n.t('TEXT_NETWORK_UNABLE')
,
[
{
text: I18n.t("NO"), onPress: () => {
BackHandler.exitApp()
}
},
{
text: I18n.t("YES"), onPress: () => {
if (this.state.allpoint.length <= 0) {
this.setState({loadingDialog: true})
if (dial_code !== null && dial_code !== undefined)
this.retrieveAllPoint(dial_code)
else
this.requestCameraPermission()
}
}
}
// this.setState({loadingDialog: false})
// if (this.state.allpoint.length <= 0) {
// console.log("no point")
// Alert.alert(
// I18n.t("UNABLE_TO_CONNECT_TITLE"),
// I18n.t('TEXT_NETWORK_UNABLE')
// ,
// [
// {
// text: I18n.t("NO"), onPress: () => {
// BackHandler.exitApp()
// }
// },
// {
// text: I18n.t("YES"), onPress: () => {
// if (this.state.allpoint.length <= 0) {
// this.setState({loadingDialog: true})
// if (dial_code !== null && dial_code !== undefined)
// this.retrieveAllPoint(dial_code)
// else
// this.requestCameraPermission()
// }
// }
// }
],
{cancelable: false}
)
}
})
// ],
// {cancelable: false}
// )
// }
// })
}
// }
showLoadMoreView() {
if (this.state.isNeedLoadMore)

View File

@ -314,7 +314,7 @@ class AutreCarteN extends Component {
// if (resultActivatePaySubscription.response !== null) {
Alert.alert(
I18n.t('WITHDRAWAL_SUCCESS'),
resultActivatePaySubscription.data.response,
resultActivatePaySubscription.response,
[
{
text: I18n.t('OK'),

View File

@ -117,8 +117,10 @@ class OperateurOptionSelect extends Component {
?
(
<>
<ProgressBarAndroid/>
<Text>{I18n.t('LOADING_DOTS')}</Text>
{/* <ProgressBarAndroid />
<Text>{I18n.t('LOADING_DOTS')}</Text> */}
<ActivityIndicator size="large" color={'#ccc'}/>
<Text>{I18n.t('LOADING_DOTS')}</Text>
</>
) :

View File

@ -818,14 +818,20 @@ class WalletDetailUser extends Component {
renderModalHistoryDetail = () => {
const {historyItemDetail} = this.state;
const ma_condition = historyItemDetail.operation === "carte vers wallet" || historyItemDetail.operation === "carte vers mobile money" || historyItemDetail.operation === "carte vers cash";
// const ma_condition = historyItemDetail.operation === "carte vers wallet" || historyItemDetail.operation === "carte vers mobile money" || historyItemDetail.operation === "carte vers cash";
const { type } = historyItemDetail;
const isType10 = type === 10;
const isType11 = type === 11;
const isType21 = type === 21;
return (
<Dialog.Container useNativeDriver={true} visible={this.state.displayModalHistory}>
<Dialog.Title>{I18n.t('HISTORY_DETAIL')}</Dialog.Title>
{ma_condition ? (
{isType10 || isType11 || isType21 ? (
<View>
<View style={[styles.blockView, {borderBottomColor: Color.borderColor}]}>
<View style={{flexDirection: 'row', marginTop: 10}}>
@ -924,7 +930,7 @@ class WalletDetailUser extends Component {
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>£, XAF, $,..</Text>
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.exchange_rate}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
@ -949,119 +955,123 @@ class WalletDetailUser extends Component {
</View>
) : (
<View>
<View style={[styles.blockView, {borderBottomColor: Color.borderColor}]}>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text style={[styles.body2]}>{I18n.t('OPERATION')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.operation}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text style={[styles.body2]}>{I18n.t('TRANSACTION_ID')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.id_transaction}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text style={[styles.body2]}>Date</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.date}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text tyle={[Typography.body2]}>{I18n.t('INIT_COUNTRY')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.init_country}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text tyle={[Typography.body2]}>{I18n.t('AMOUNT')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.montant}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text tyle={[Typography.body2]}>{I18n.t('FEES_AND_TAXES')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.frais}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text tyle={[Typography.body2]}>{I18n.t('NET_AMOUNT')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.montant_net_init}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text tyle={[Typography.body2]}>{I18n.t('EMETTEUR')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.emetteur}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text tyle={[Typography.body2]}>{I18n.t('DESTINATAIRE')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.destinataire}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text tyle={[Typography.body2]}>{I18n.t('FINAL_COUNTRY')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.final_country}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text tyle={[Typography.body2]}>{I18n.t('NET_AMOUNT')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.montant_net_final}</Text>
</View>
</View>
<View style={{flexDirection: 'row', marginTop: 10}}>
<View style={{flex: 1}}>
<Text tyle={[Typography.body2]}>{I18n.t('ACTIVE_WALLET')}</Text>
</View>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<View style={{flex: 1, alignItems: 'flex-end'}}>
<Text
style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.reseau_payeur}</Text>
</View>
</View>
</View>
// <View>
// <View style={[styles.blockView, {borderBottomColor: Color.borderColor}]}>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text style={[styles.body2]}>{I18n.t('OPERATION')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.operation}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text style={[styles.body2]}>{I18n.t('TRANSACTION_ID')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.id_transaction}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text style={[styles.body2]}>Date</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.date}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text tyle={[Typography.body2]}>{I18n.t('INIT_COUNTRY')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.init_country}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text tyle={[Typography.body2]}>{I18n.t('AMOUNT')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.montant}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text tyle={[Typography.body2]}>{I18n.t('FEES_AND_TAXES')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.frais}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text tyle={[Typography.body2]}>{I18n.t('NET_AMOUNT')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.montant_net_init}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text tyle={[Typography.body2]}>{I18n.t('EMETTEUR')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.emetteur}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text tyle={[Typography.body2]}>{I18n.t('DESTINATAIRE')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.destinataire}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text tyle={[Typography.body2]}>{I18n.t('FINAL_COUNTRY')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.final_country}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text tyle={[Typography.body2]}>{I18n.t('NET_AMOUNT')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.montant_net_final}</Text>
// </View>
// </View>
// <View style={{flexDirection: 'row', marginTop: 10}}>
// <View style={{flex: 1}}>
// <Text tyle={[Typography.body2]}>{I18n.t('ACTIVE_WALLET')}</Text>
// </View>
// <View style={{flex: 1, alignItems: 'flex-end'}}>
// <Text
// style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.reseau_payeur}</Text>
// </View>
// </View>
// </View>
</View>
// </View>
)}
@ -1084,7 +1094,7 @@ class WalletDetailUser extends Component {
this.setState({displayModalHistory: true, historyItemDetail: item})
}} style={[styles.contentService, {borderBottomColor: Color.primaryColor}]}>
{
Object.keys(omit(item, ['id', 'id_transaction', 'type', 'frais', 'init_country', 'final_country', 'source', 'emetteur', 'montant_net_final', 'montant_net_init', 'reseau_payeur', 'operation'])).map((element, i) => (
Object.keys(omit(item, ['id', 'id_transaction', 'type', 'frais', 'init_country', 'final_country', 'exchange_rate', 'source', 'emetteur', 'montant_net_final', 'montant_net_init', 'reseau_payeur', 'operation'])).map((element, i) => (
<View style={{alignItems: 'center'}} key={i}>
<Text style={[Typography.overline, Color.grayColor, {marginTop: 4}]}>
{

View File

@ -165,7 +165,7 @@
"MANAGE_SAVINGS": "Gérer son épargne",
"CODE_IBAN": "Code IBAN",
"INIT_COUNTRY": "Pays de départ",
"CARD_ISSUING_COUNTRY": "Pays d'émission de la cartee",
"CARD_ISSUING_COUNTRY": "Pays d'émission de la carte",
"FINAL_COUNTRY": "Pays d'arrivée",
"INIT_AMOUNT": "Montant initial",
"FINAL_AMOUNT": "Montant final",

88
package-lock.json generated
View File

@ -1233,7 +1233,7 @@
},
"@ideditor/country-coder": {
"version": "4.1.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/@ideditor/country-coder/-/country-coder-4.1.0.tgz",
"integrity": "sha512-Anly6rTQ1BR/BKCG2eLss38UrxzSEdKeA+BcnIKPwTnPJRwx6NXz/lQSMeDf6u8j73BD0qZQQ0N/RW7ctU1HKw==",
"requires": {
"which-polygon": "^2.2.0"
@ -2179,7 +2179,7 @@
},
"@react-native-community/datetimepicker": {
"version": "3.5.2",
"resolved": false,
"resolved": "https://registry.npmjs.org/@react-native-community/datetimepicker/-/datetimepicker-3.5.2.tgz",
"integrity": "sha512-TWRuAtr/DnrEcRewqvXMLea2oB+YF+SbtuYLHguALLxNJQLl/RFB7aTNZeF+OoH75zKFqtXECXV1/uxQUpA+sg==",
"requires": {
"invariant": "^2.2.4"
@ -2322,47 +2322,47 @@
},
"@svgr/babel-plugin-add-jsx-attribute": {
"version": "4.2.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-4.2.0.tgz",
"integrity": "sha512-j7KnilGyZzYr/jhcrSYS3FGWMZVaqyCG0vzMCwzvei0coIkczuYMcniK07nI0aHJINciujjH11T72ICW5eL5Ig=="
},
"@svgr/babel-plugin-remove-jsx-attribute": {
"version": "4.2.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-4.2.0.tgz",
"integrity": "sha512-3XHLtJ+HbRCH4n28S7y/yZoEQnRpl0tvTZQsHqvaeNXPra+6vE5tbRliH3ox1yZYPCxrlqaJT/Mg+75GpDKlvQ=="
},
"@svgr/babel-plugin-remove-jsx-empty-expression": {
"version": "4.2.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-4.2.0.tgz",
"integrity": "sha512-yTr2iLdf6oEuUE9MsRdvt0NmdpMBAkgK8Bjhl6epb+eQWk6abBaX3d65UZ3E3FWaOwePyUgNyNCMVG61gGCQ7w=="
},
"@svgr/babel-plugin-replace-jsx-attribute-value": {
"version": "4.2.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-4.2.0.tgz",
"integrity": "sha512-U9m870Kqm0ko8beHawRXLGLvSi/ZMrl89gJ5BNcT452fAjtF2p4uRzXkdzvGJJJYBgx7BmqlDjBN/eCp5AAX2w=="
},
"@svgr/babel-plugin-svg-dynamic-title": {
"version": "4.3.3",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-4.3.3.tgz",
"integrity": "sha512-w3Be6xUNdwgParsvxkkeZb545VhXEwjGMwExMVBIdPQJeyMQHqm9Msnb2a1teHBqUYL66qtwfhNkbj1iarCG7w=="
},
"@svgr/babel-plugin-svg-em-dimensions": {
"version": "4.2.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-4.2.0.tgz",
"integrity": "sha512-C0Uy+BHolCHGOZ8Dnr1zXy/KgpBOkEUYY9kI/HseHVPeMbluaX3CijJr7D4C5uR8zrc1T64nnq/k63ydQuGt4w=="
},
"@svgr/babel-plugin-transform-react-native-svg": {
"version": "4.2.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-4.2.0.tgz",
"integrity": "sha512-7YvynOpZDpCOUoIVlaaOUU87J4Z6RdD6spYN4eUb5tfPoKGSF9OG2NuhgYnq4jSkAxcpMaXWPf1cePkzmqTPNw=="
},
"@svgr/babel-plugin-transform-svg-component": {
"version": "4.2.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-4.2.0.tgz",
"integrity": "sha512-hYfYuZhQPCBVotABsXKSCfel2slf/yvJY8heTVX1PCTaq/IgASq1IyxPPKJ0chWREEKewIU/JMSsIGBtK1KKxw=="
},
"@svgr/babel-preset": {
"version": "4.3.3",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/babel-preset/-/babel-preset-4.3.3.tgz",
"integrity": "sha512-6PG80tdz4eAlYUN3g5GZiUjg2FMcp+Wn6rtnz5WJG9ITGEF1pmFdzq02597Hn0OmnQuCVaBYQE1OVFAnwOl+0A==",
"requires": {
"@svgr/babel-plugin-add-jsx-attribute": "^4.2.0",
@ -2377,7 +2377,7 @@
},
"@svgr/core": {
"version": "4.3.3",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/core/-/core-4.3.3.tgz",
"integrity": "sha512-qNuGF1QON1626UCaZamWt5yedpgOytvLj5BQZe2j1k1B8DUG4OyugZyfEwBeXozCUwhLEpsrgPrE+eCu4fY17w==",
"requires": {
"@svgr/plugin-jsx": "^4.3.3",
@ -2394,7 +2394,7 @@
},
"@svgr/hast-util-to-babel-ast": {
"version": "4.3.2",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-4.3.2.tgz",
"integrity": "sha512-JioXclZGhFIDL3ddn4Kiq8qEqYM2PyDKV0aYno8+IXTLuYt6TOgHUbUAAFvqtb0Xn37NwP0BTHglejFoYr8RZg==",
"requires": {
"@babel/types": "^7.4.4"
@ -2402,7 +2402,7 @@
},
"@svgr/plugin-jsx": {
"version": "4.3.3",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/plugin-jsx/-/plugin-jsx-4.3.3.tgz",
"integrity": "sha512-cLOCSpNWQnDB1/v+SUENHH7a0XY09bfuMKdq9+gYvtuwzC2rU4I0wKGFEp1i24holdQdwodCtDQdFtJiTCWc+w==",
"requires": {
"@babel/core": "^7.4.5",
@ -2413,7 +2413,7 @@
},
"@svgr/plugin-svgo": {
"version": "4.3.1",
"resolved": false,
"resolved": "https://registry.npmjs.org/@svgr/plugin-svgo/-/plugin-svgo-4.3.1.tgz",
"integrity": "sha512-PrMtEDUWjX3Ea65JsVCwTIXuSqa3CG9px+DluF1/eo9mlDrgrtFE7NE/DjdhjJgSM9wenlVBzkzneSIUgfUI/w==",
"requires": {
"cosmiconfig": "^5.2.1",
@ -4138,7 +4138,7 @@
},
"call-bind": {
"version": "1.0.2",
"resolved": false,
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
"integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
"requires": {
"function-bind": "^1.1.1",
@ -4368,7 +4368,7 @@
},
"coa": {
"version": "2.0.2",
"resolved": false,
"resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz",
"integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==",
"requires": {
"@types/q": "^1.5.1",
@ -4661,7 +4661,7 @@
},
"css-select-base-adapter": {
"version": "0.1.1",
"resolved": false,
"resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz",
"integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w=="
},
"css-tree": {
@ -4680,7 +4680,7 @@
},
"csso": {
"version": "4.2.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz",
"integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==",
"requires": {
"css-tree": "^1.1.2"
@ -4688,7 +4688,7 @@
"dependencies": {
"css-tree": {
"version": "1.1.3",
"resolved": false,
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",
"integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==",
"requires": {
"mdn-data": "2.0.14",
@ -4697,7 +4697,7 @@
},
"mdn-data": {
"version": "2.0.14",
"resolved": false,
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz",
"integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow=="
}
}
@ -7026,7 +7026,7 @@
},
"has-tostringtag": {
"version": "1.0.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
"integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
"requires": {
"has-symbols": "^1.0.2"
@ -7544,7 +7544,7 @@
},
"is-string": {
"version": "1.0.7",
"resolved": false,
"resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
"integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
"requires": {
"has-tostringtag": "^1.0.0"
@ -9612,7 +9612,7 @@
},
"lodash-es": {
"version": "4.17.21",
"resolved": false,
"resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz",
"integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw=="
},
"lodash.camelcase": {
@ -9915,7 +9915,7 @@
},
"merge-deep": {
"version": "3.0.3",
"resolved": false,
"resolved": "https://registry.npmjs.org/merge-deep/-/merge-deep-3.0.3.tgz",
"integrity": "sha512-qtmzAS6t6grwEkNrunqTBdn0qKwFgNWvlxUbAV8es9M7Ot1EbyApytCnvE0jALPa46ZpKDUo527kKiaWplmlFA==",
"requires": {
"arr-union": "^3.1.0",
@ -10813,7 +10813,7 @@
},
"nanoclone": {
"version": "0.2.1",
"resolved": false,
"resolved": "https://registry.npmjs.org/nanoclone/-/nanoclone-0.2.1.tgz",
"integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA=="
},
"nanomatch": {
@ -11724,7 +11724,7 @@
},
"quickselect": {
"version": "1.1.1",
"resolved": false,
"resolved": "https://registry.npmjs.org/quickselect/-/quickselect-1.1.1.tgz",
"integrity": "sha512-qN0Gqdw4c4KGPsBOQafj6yj/PA6c/L63f6CaZ/DCF/xF4Esu3jVmKLUDYxghFx8Kb/O7y9tI7x2RjTSXwdK1iQ=="
},
"raf": {
@ -11742,7 +11742,7 @@
},
"rbush": {
"version": "2.0.2",
"resolved": false,
"resolved": "https://registry.npmjs.org/rbush/-/rbush-2.0.2.tgz",
"integrity": "sha512-XBOuALcTm+O/H8G90b6pzu6nX6v2zCKiFG4BJho8a+bY6AER6t8uQUZdi5bomQc0AprCWhEGa7ncAbbRap0bRA==",
"requires": {
"quickselect": "^1.0.1"
@ -11779,7 +11779,7 @@
},
"react-fast-compare": {
"version": "2.0.4",
"resolved": false,
"resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz",
"integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw=="
},
"react-is": {
@ -12010,9 +12010,9 @@
}
},
"react-native-camera": {
"version": "3.44.3",
"resolved": "https://registry.npmjs.org/react-native-camera/-/react-native-camera-3.44.3.tgz",
"integrity": "sha512-Efb5aKhFsE7qnqvTnbSEwFAom79L5BT4jMn+B2wYVUnZeRgWh45gNSG7Ou3MQ6zU2DpUHBPlBFKGVS5yOSfSZQ==",
"version": "3.30.0",
"resolved": "https://registry.npmjs.org/react-native-camera/-/react-native-camera-3.30.0.tgz",
"integrity": "sha512-rZorpBHXnc4MT9N6ddV4iC7h9dSUx4umtXvAKMkdYr3ZONlZcEfWxup7YCeAZ5wu4x43SvhSiTfYd8g0q+V0wg==",
"requires": {
"prop-types": "^15.6.2"
}
@ -12232,7 +12232,7 @@
},
"react-native-image-crop-picker": {
"version": "0.36.4",
"resolved": false,
"resolved": "https://registry.npmjs.org/react-native-image-crop-picker/-/react-native-image-crop-picker-0.36.4.tgz",
"integrity": "sha512-FOWkYbCEh78V5/aK9HqMSvRnQJtelGwj0UOu1zhE49gO6e4YoKKNBvA15jweAMM/kPA+omDXBIgJaruonoEXGA=="
},
"react-native-iphone-x-helper": {
@ -12392,7 +12392,7 @@
},
"react-native-modal": {
"version": "12.1.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/react-native-modal/-/react-native-modal-12.1.0.tgz",
"integrity": "sha512-9myTNZ75gz6MPg1Cngm01x59JbaVkTeWoZvmChmW//PbSAdfbP/dFPnzbidL9IDrRh6Ftuuq8WSuM0aoS5m2lg==",
"requires": {
"prop-types": "^15.6.2",
@ -12401,7 +12401,7 @@
},
"react-native-modal-datetime-picker": {
"version": "10.2.0",
"resolved": false,
"resolved": "https://registry.npmjs.org/react-native-modal-datetime-picker/-/react-native-modal-datetime-picker-10.2.0.tgz",
"integrity": "sha512-eMQb3EPqHx47WrlLPTrXvmLZDwGwGH//WTWiQBUvJ+6ehDeuTjIn8/v/ANv8wxCCrt4NeHem8FQY3Z5fa4fRgQ==",
"requires": {
"prop-types": "^15.7.2"
@ -12618,7 +12618,7 @@
},
"react-native-svg-transformer": {
"version": "0.14.3",
"resolved": false,
"resolved": "https://registry.npmjs.org/react-native-svg-transformer/-/react-native-svg-transformer-0.14.3.tgz",
"integrity": "sha512-agDGdMeeBAsWEgg/u7mjtR2Z3c8smGCLep/n3svwifut9dpswZCP+bSIrU8ekg6RNtxAJL+eGJbWjJ38vWxw6g==",
"requires": {
"@svgr/core": "^4.3.3",
@ -13778,7 +13778,7 @@
},
"stable": {
"version": "0.1.8",
"resolved": false,
"resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
"integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w=="
},
"stack-utils": {
@ -14031,12 +14031,12 @@
},
"svg-parser": {
"version": "2.0.4",
"resolved": false,
"resolved": "https://registry.npmjs.org/svg-parser/-/svg-parser-2.0.4.tgz",
"integrity": "sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ=="
},
"svgo": {
"version": "1.3.2",
"resolved": false,
"resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz",
"integrity": "sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==",
"requires": {
"chalk": "^2.4.1",
@ -14056,7 +14056,7 @@
"dependencies": {
"css-tree": {
"version": "1.0.0-alpha.37",
"resolved": false,
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.37.tgz",
"integrity": "sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==",
"requires": {
"mdn-data": "2.0.4",
@ -14065,7 +14065,7 @@
},
"mdn-data": {
"version": "2.0.4",
"resolved": false,
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz",
"integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA=="
},
"minimist": {
@ -14283,7 +14283,7 @@
},
"tiny-warning": {
"version": "1.0.3",
"resolved": false,
"resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz",
"integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA=="
},
"tmpl": {
@ -14387,7 +14387,7 @@
},
"tslib": {
"version": "1.14.1",
"resolved": false,
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
},
"tsutils": {
@ -15077,7 +15077,7 @@
},
"yup": {
"version": "0.32.11",
"resolved": false,
"resolved": "https://registry.npmjs.org/yup/-/yup-0.32.11.tgz",
"integrity": "sha512-Z2Fe1bn+eLstG8DRR6FTavGD+MeAwyfmouhHsIUgaADz8jvFKbO/fXc2trJKZg+5EBjh4gGm3iU/t3onKlXHIg==",
"requires": {
"@babel/runtime": "^7.15.4",

View File

@ -6,11 +6,11 @@
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"postinstall": "node ./fix-android/android-release-fix.js",
"release-build": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest ./android/app/build/intermediates/res/merged/release/ && cd ./android && gradlew assembleRelease -x bundleReleaseJsAndAssets && cd .. && adb install ./android/app/build/outputs/apk/release/app-release.apk",
"debug-build": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest ./android/app/src/main/res/ ; cd ./android ; sudo ./gradlew clean ; sudo ./gradlew assembleDebug && cd .. && sudo adb install ./android/app/build/outputs/apk/debug/app-debug.apk",
"release-build": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest ./android/app/build/intermediates/res/merged/release/ && del /s /q ./android/app/src/main/res/drawable-* && del /s /q ./android/app/src/main/res/raw/* && cd ./android && ./gradlew assembleRelease && cd .. && adb install ./android/app/build/outputs/apk/release/app-release.apk",
"debug-build": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest ./android/app/src/main/res/ && cd ./android && gradlew clean && gradlew assembleDebug && cd .. && adb install ./android/app/build/outputs/apk/debug/app-debug.apk",
"start-emulator": "emulator -avd Nexus_5X_API_29 -dns-server 8.8.8.8",
"start-emulator-pixel": "emulator -avd Pixel_2_API_29 -dns-server 8.8.8.8",
"run-debug": "cd android && ./gradlew clean && cd .. && react-native run-android",
"run-debug": "cd android && gradlew clean && cd .. && react-native run-android",
"run-release": "cd android && ./gradlew clean && cd .. && react-native run-android --variant=release"
},
"dependencies": {
@ -25,18 +25,17 @@
"events": "^3.0.0",
"formik": "^2.2.9",
"geolib": "^3.0.3",
"lottie-ios": "3.1.3",
"lottie-react-native": "^3.3.2",
"lottie-ios": "3.2.3",
"lottie-react-native": "^5.1.3",
"moment-timezone": "^0.5.28",
"prop-types": "^15.7.2",
"react": "16.9.0",
"react-native": "0.61.5",
"react": "17.0.2",
"react-native": "0.65.0",
"react-native-action-button": "^2.8.5",
"react-native-animatable": "^1.3.2",
"react-native-best-viewpager": "^1.0.4",
"react-native-blob-util": "^0.14.0",
"react-native-blur-overlay": "^1.0.6",
"react-native-bottom-sheet-behavior": "^2.0.0",
"react-native-calendario": "^0.2.10",
"react-native-camera": "^3.30.0",
"react-native-cardview": "^2.0.2",
@ -56,7 +55,7 @@
"react-native-loader": "^1.2.1",
"react-native-loading-spinner-overlay": "^1.0.1",
"react-native-local-mongodb": "^2.2.9",
"react-native-maps": "0.26.1",
"react-native-maps": "^1.4.0",
"react-native-maps-directions": "^1.7.0",
"react-native-material-bottom-navigation": "^1.0.3",
"react-native-material-bottom-navigation-performance": "^0.7.8",
@ -77,6 +76,7 @@
"react-native-reanimated": "^1.13.0",
"react-native-responsive-dimensions": "^2.0.1",
"react-native-root-toast": "^3.2.1",
"react-native-safe-area-context": "0.7.3",
"react-native-screens": "^2.3.0",
"react-native-simple-dialogs": "1.2.1",
"react-native-snackbar-component": "1.1.8",
@ -87,16 +87,17 @@
"react-native-switch-selector": "^1.1.14",
"react-native-tab-view": "^2.14.0",
"react-native-textinput-effects": "^0.5.1",
"react-native-vector-icons": "^6.6.0",
"react-native-webview": "^11.6.2",
"react-native-vector-icons": "^6.5.0",
"react-native-webview": "^11.26.1",
"react-native-wizard": "^2.1.0",
"react-navigation": "3.11.0",
"react-navigation": "3.13.0",
"react-navigation-drawer": "^1.4.0",
"react-navigation-material-bottom-tabs": "^1.0.0",
"react-navigation-tabs": "^1.2.0",
"react-navigation-stack": "^2.10.4",
"react-navigation-tabs": "^2.11.2",
"react-navigation-transitions": "^1.0.12",
"react-redux": "^7.2.0",
"realm": "^3.6.5",
"realm": "^10.21.1",
"reanimated-bottom-sheet": "^1.0.0-alpha.10",
"redux": "^4.0.5",
"redux-persist": "^6.0.0",
@ -107,13 +108,16 @@
"yup": "^0.32.11"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/runtime": "^7.4.5",
"babel-jest": "^24.8.0",
"jest": "^24.8.0",
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "7.14.0",
"jest": "^26.6.3",
"jetifier": "^1.6.5",
"metro-react-native-babel-preset": "^0.54.1",
"react-test-renderer": "16.8.3",
"metro-react-native-babel-preset": "^0.66.0",
"react-native-codegen": "^0.0.7",
"react-test-renderer": "17.0.1",
"redux-logger": "^3.0.6"
},
"jest": {