Skip to content

Commit 7de0e35

Browse files
committed
Skip notif verif in client
1 parent 2df5f55 commit 7de0e35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/lib/service/android-push.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ export default function AndroidPush() {
1111
if (!user?.id || !isAndroid) return
1212
console.log('AndroidPush', user)
1313

14-
PushNotifications.requestPermissions().then(result => {
15-
if (result.receive !== 'granted') return
16-
PushNotifications.register()
17-
})
14+
// PushNotifications.requestPermissions().then(result => {
15+
// if (result.receive !== 'granted') return
16+
// PushNotifications.register()
17+
// })
1818

1919
PushNotifications.addListener('registration', async token => {
2020
console.log('Device token:', token.value)

0 commit comments

Comments
 (0)