Skip notif verif in client

This commit is contained in:
MartinBraquet
2025-10-30 23:44:41 +01:00
parent 2df5f55390
commit 7de0e351f3

View File

@@ -11,10 +11,10 @@ export default function AndroidPush() {
if (!user?.id || !isAndroid) return
console.log('AndroidPush', user)
PushNotifications.requestPermissions().then(result => {
if (result.receive !== 'granted') return
PushNotifications.register()
})
// PushNotifications.requestPermissions().then(result => {
// if (result.receive !== 'granted') return
// PushNotifications.register()
// })
PushNotifications.addListener('registration', async token => {
console.log('Device token:', token.value)