Page 1 of 1

web push notification

Posted: Sun Mar 10, 2024 2:08 pm
by ahmed7

hello
i try v24 now and did make web push notification .
when any user subscribe by enable notification so that is appear in Subscriptions table by sorted (Id , Public Key , Authentication Token , Content Encoding)
but no any information about (User).
I hope to help me please
Thanks


Re: web push notification

Posted: Mon Mar 11, 2024 8:02 am
by MichaelG

The User ID field in the Subscription table is linked to the User name (or the User ID field if User ID Security is enabled). You can join the tables to display whatever you want from the User Table.


Re: web push notification

Posted: Mon Mar 11, 2024 1:02 pm
by ahmed7

There is no any User Id Field in Subscriptions table , there are only Id field (primary key) and field of (User) and this field get empty when enable the notification.


Re: web push notification

Posted: Tue Mar 12, 2024 7:15 am
by MichaelG

field of (User) and this field get empty when enable the notification

Make sure that you have not enabled "Allow anonymous users" for Web Push Notification. If the user has not logged in, the User field may be empty.


Re: web push notification

Posted: Tue Mar 12, 2024 3:35 pm
by ahmed7

the same result , still get empty for User field when Enable notifications.
Please help


Re: web push notification

Posted: Thu Mar 14, 2024 7:15 am
by MichaelG

You should login first before you enable the web push notification. Delete all subscriptions and try again.


Re: web push notification

Posted: Thu Mar 14, 2024 1:30 pm
by ahmed7

I did all but the same


Re: web push notification

Posted: Fri Mar 15, 2024 7:35 am
by MichaelG

Show your project settings and table schema.

If you are a registered user, you may want to send to the support email for checking your settings.