We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For now the TargetedMessageRequest allows to set a devicesFilter property as a string only.
TargetedMessageRequest
devicesFilter
It would be great to have a powerful DSL to create the device filters, for example.
$filters = StringTagFilter::create('username')->eq('my_username')->and(IntTagFilter::create('age')->between(15, 50))->join(ApplicationTagFilter::create('XXXXX-XXXXX');
This sample will be equivalent to (T("username", EQ, "my_username"), T("favorite_color", IN, ["red","green","blue"])) + A('XXXXX-XXXXX).
(T("username", EQ, "my_username"), T("favorite_color", IN, ["red","green","blue"])) + A('XXXXX-XXXXX)
A first implementation has been started on the devices-filter branch.
devices-filter
The text was updated successfully, but these errors were encountered:
bgaillard
No branches or pull requests
For now the
TargetedMessageRequest
allows to set adevicesFilter
property as a string only.It would be great to have a powerful DSL to create the device filters, for example.
This sample will be equivalent to
(T("username", EQ, "my_username"), T("favorite_color", IN, ["red","green","blue"])) + A('XXXXX-XXXXX)
.A first implementation has been started on the
devices-filter
branch.The text was updated successfully, but these errors were encountered: