We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2df5f55 commit 7de0e35Copy full SHA for 7de0e35
web/lib/service/android-push.ts
@@ -11,10 +11,10 @@ export default function AndroidPush() {
11
if (!user?.id || !isAndroid) return
12
console.log('AndroidPush', user)
13
14
- PushNotifications.requestPermissions().then(result => {
15
- if (result.receive !== 'granted') return
16
- PushNotifications.register()
17
- })
+ // PushNotifications.requestPermissions().then(result => {
+ // if (result.receive !== 'granted') return
+ // PushNotifications.register()
+ // })
18
19
PushNotifications.addListener('registration', async token => {
20
console.log('Device token:', token.value)
0 commit comments