We are created a button that uses an action change to request for push notifications and another one that grant access in the table with access checkpoint. But it is not working.
Can you clarify what you mean by ânot workingâ? Does Glide send the request to allow push notifications to the devices? If yes, have they allowed it but the value does not get pushed to the Notifications Access column?
Also, it seems like your Notifications Access column is a calculated column, not a basic one. Can you clarify on that?
We have a ânotification accessâ table in the user profile. This table is set to recognize if âpush notifications are grantedâ. To do this, we have a button labeled âallow push notificationsâ. This button requests to âsend push notificationsâ and updates the user table with âpush notifications are grantedâ.
Weâve also set an action to trigger a notification if a certain condition is met, in our case, if a variable equals 1.
The issue we are encountering is that when we use the app on our phones, the system doesnât prompt us to allow push notifications after pressing the âallow push notificationsâ button. Likewise, the user table doesnât reflect any changes. This behavior persists across different user profiles when accessed through the glide constructor.
The application is still in private mode and hasnât been made public yet.
We need help to understand why these issues are happening and how to resolve them.
You still havenât answered this, I think? Shouldnât you write the ânotification accessâ boolean to a normal boolean column, or are you using this as a column itself?
I did use this same action a while ago, writing to a normal column, and it works normally.
Please also make sure youâre on the right iOS version. Can you clarify what version are you on?
What if you use it as an action and write to a normal column, instead of using it as a column?