Hi,
We have added a new group tag (app).
So for example a user data looks as following:
{
"named_user_id": "12b0-dbf9-41cd-844e-0ec8cf9731e6",
"tags": {
"notifications_setting": [
"enabled"
],
"app": [
"heed-fashion"
]
},
"created": "2017-03-01T17:10:26",
"last_modified": "2017-03-01T17:10:30",
"channels": []
}
From now on, this is a mandatory tag so each push request must contain corresponding filter (selector) with 'app' value.
We need to define a default value for all existing users (otherwise notifications will not work for existing users).
As I understand one way to implement it is:
1. Get all users using api/named_users
2. Set the default value per each user from 1
I am looking for a simpler way (as setting tag value for all users).
Any best practices for our case?
Thanks
Comments
1 comment