This commit is contained in:
2026-04-12 02:49:31 +08:00
parent f6f3dc30cf
commit 8dd0509fa0
4 changed files with 359 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import React, { useEffect, useRef } from 'react';
import { Alert, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
import { onProxyMessage, proxySendMessage, paytmPay, openMobikwikPayToBank } from 'rnwalletman';
import { onProxyMessage, proxySendMessage, paytmPay, openMobikwikPayToBank, openFreechargePayToBank } from 'rnwalletman';
export default function TestScreen() {
const subRef = useRef<ReturnType<typeof onProxyMessage> | null>(null);
@@ -37,7 +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)));
};
return (