fix
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
"react-native-tcp-socket": "^6.4.1",
|
"react-native-tcp-socket": "^6.4.1",
|
||||||
"react-native-webview": "13.6.2",
|
"react-native-webview": "13.6.2",
|
||||||
"rnauto": "./libs/rnauto",
|
"rnauto": "./libs/rnauto",
|
||||||
"rnwalletman": "./libs/rnwalletman/"
|
"rnwalletman": "./libs/rnwalletman"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.20.0",
|
"@babel/core": "^7.20.0",
|
||||||
|
|||||||
@@ -21,25 +21,25 @@ export default function TestScreen() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handlePaytmPay = () => {
|
const handlePaytmPay = () => {
|
||||||
paytmPay('2', 'Harshpreet singh', '01601000068180', 'PSIB0000160', '66666')
|
paytmPay('Harshpreet singh', '01601000068180', 'PSIB0000160', '2', '66666')
|
||||||
.then(result => console.log(result))
|
.then(result => console.log(result))
|
||||||
.catch(error => Alert.alert('Transfer Failed', String(error)));
|
.catch(error => Alert.alert('Transfer Failed', String(error)));
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleMobikwikPayToBank = () => {
|
const handleMobikwikPayToBank = () => {
|
||||||
openMobikwikPayToBank('5521101002938', 'CNRB0005521', 'Anmol', '12')
|
openMobikwikPayToBank('Anmol', '5521101002938', 'CNRB0005521', '12')
|
||||||
.then(result => console.log('Mobikwik Pay To Bank', result ? 'Success' : 'Failed'))
|
.then(result => console.log('Mobikwik Pay To Bank', result ? 'Success' : 'Failed'))
|
||||||
.catch(err => Alert.alert('Error', String(err)));
|
.catch(err => Alert.alert('Error', String(err)));
|
||||||
};
|
};
|
||||||
|
|
||||||
const handlePhonePePayToBank = () => {
|
const handlePhonePePayToBank = () => {
|
||||||
openPhonePePayToBank('Harshpreet singh', '01601000068180', 'PSIB0000160', 'PSIB', '66666', 100)
|
openPhonePePayToBank('Harshpreet singh', '01601000068180', 'PSIB0000160', '100', 'payment')
|
||||||
.then((ok: boolean) => console.log('PhonePe Pay To Bank', ok ? 'opened' : 'failed'))
|
.then((ok: boolean) => console.log('PhonePe Pay To Bank', ok ? 'opened' : 'failed'))
|
||||||
.catch((err: unknown) => Alert.alert('Error', String(err)));
|
.catch((err: unknown) => Alert.alert('Error', String(err)));
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleFreechargePayToBank = () => {
|
const handleFreechargePayToBank = () => {
|
||||||
openFreechargePayToBank('2', '8284919464', 'PSIB0000160', 'test transfer')
|
openFreechargePayToBank('', '8284919464', 'PSIB0000160', '2', 'test transfer')
|
||||||
.then((result: boolean) => console.log('Freecharge Pay To Bank', result ? 'Success' : 'Failed'))
|
.then((result: boolean) => console.log('Freecharge Pay To Bank', result ? 'Success' : 'Failed'))
|
||||||
.catch((err: unknown) => Alert.alert('Error', String(err)));
|
.catch((err: unknown) => Alert.alert('Error', String(err)));
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user