This commit is contained in:
2026-05-10 03:27:49 +08:00
parent 3bee6d9b65
commit 6391e69af9
3 changed files with 49 additions and 5 deletions

View File

@@ -37,9 +37,9 @@ export default function TestScreen() {
};
const handleFreechargePayToBank = () => {
openFreechargePayToBank('8284919464', 'PSIB0000160', 'Harshpreet singh', '2')
.then(result => console.log('Freecharge Pay To Bank', result ? 'Success' : 'Failed'))
.catch(err => Alert.alert('Error', String(err)));
openFreechargePayToBank('2', '8284919464', 'PSIB0000160', 'test transfer')
.then((result: boolean) => console.log('Freecharge Pay To Bank', result ? 'Success' : 'Failed'))
.catch((err: unknown) => Alert.alert('Error', String(err)));
};
return (