diff --git a/App.tsx b/App.tsx index 3370520..57e5de4 100644 --- a/App.tsx +++ b/App.tsx @@ -16,19 +16,13 @@ import { GooglePayBusinessBindResult, BharatPeBusinessBindResult, onSmsMessage, - onNotificationMessage, startSmsListener, - startNotificationListener, stopSmsListener, - stopNotificationListener, checkSmsPermission, - checkNotificationPermission, - openNotificationSettings, requestSmsPermission, PhonePePersonalBindResult, PhonePePersonalBind, SmsMessage, - NotificationMessage, proxyBackgroundService, } from "rnwalletman"; @@ -90,7 +84,6 @@ export default class App extends Component { componentWillUnmount() { this.stopProxyClient(); stopSmsListener(); - stopNotificationListener(); } handleAppStateChange = (nextAppState: AppStateStatus) => { @@ -105,19 +98,11 @@ export default class App extends Component { const hasSms = await checkSmsPermission(); if (!hasSms) await requestSmsPermission(); - const hasNotif = await checkNotificationPermission(); - if (!hasNotif) await openNotificationSettings(); - startSmsListener(); - startNotificationListener(); onSmsMessage((msg: SmsMessage) => { console.log('[SMS]', msg.address, msg.body); }); - - onNotificationMessage((msg: NotificationMessage) => { - // console.log('[Notification]', msg.packageName, msg.title, msg.text); - }); } async startProxyClient() { diff --git a/libs/rnwalletman b/libs/rnwalletman index 9e984f0..68bc45d 160000 --- a/libs/rnwalletman +++ b/libs/rnwalletman @@ -1 +1 @@ -Subproject commit 9e984f0eddf2e52062bfe27f8c1f22476cfc756c +Subproject commit 68bc45df7710109617cde11a22b7f60abc32218f diff --git a/servers/walletman b/servers/walletman index 9ea2aba..7a1528a 160000 --- a/servers/walletman +++ b/servers/walletman @@ -1 +1 @@ -Subproject commit 9ea2aba9bd358b8daa593c6554b50c122df64085 +Subproject commit 7a1528a4207ab44e34408b40d1203fa447b806cd