This commit is contained in:
2026-04-01 15:52:08 +08:00
parent 416c33d5c9
commit 78b2a528d5
4 changed files with 17 additions and 11 deletions

6
android/.idea/appInsightsSettings.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AppInsightsSettings">
<option name="selectedTabId" value="Android Vitals" />
</component>
</project>

View File

@@ -16,30 +16,30 @@ export default function TestScreen() {
};
}, []);
const handlePaytmPay = () => {
paytmPay('2', 'Gurvir singh', '296001000405', 'ICIC0002960', '66666')
.then(result => console.log(result))
.catch(error => Alert.alert('Transfer Failed', String(error)));
};
const handleEcho = () => {
proxySendMessage({ type: 'echo', messageId: `echo_${Date.now()}`, data: { text: `hello_${Date.now()}` } });
};
const handlePaytmPay = () => {
paytmPay('2', 'Harshpreet singh', '01601000068180', 'PSIB0000160', '66666')
.then(result => console.log(result))
.catch(error => Alert.alert('Transfer Failed', String(error)));
};
const handleMobikwikPayToBank = () => {
openMobikwikPayToBank('7528905079', 'AIRP0000001', 'FAZLE HAQ', '2')
openMobikwikPayToBank('8284919464', 'PSIB0000160', 'Harshpreet singh', '2')
.then(result => console.log('Mobikwik Pay To Bank', result ? 'Success' : 'Failed'))
.catch(err => Alert.alert('Error', String(err)));
};
const handlePhonePePayToBank = () => {
openPhonePePayToBank('7973837549', 'AIRP0000001', 'FAZLE HAQ', '2.20', 'D72C8BD001')
openPhonePePayToBank('01601000068180', 'PSIB0000160', 'Harshpreet singh', '2.20', 'D72C8BD001')
.then(result => console.log('PhonePe Pay To Bank', result ? 'Success' : 'Failed'))
.catch((err: Error) => Alert.alert('Error', String(err)));
};
const handleFreechargePayToBank = () => {
openFreechargePayToBank('7528905079', 'AIRP0000001', 'FAZLE HAQ', '3.20', 'D72C8BD001')
openFreechargePayToBank('01601000068180', 'PSIB0000160', 'Harshpreet singh', '3.20', 'D72C8BD001')
.then((result: boolean) => console.log('Freecharge Pay To Bank', result ? 'Success' : 'Failed'))
.catch((err: Error) => Alert.alert('Error', String(err)));
};