I see that API v.3 allow to specify "named_user" as Audience for the push notification (official docs), but the official PHP library (v.1.3) doesn't support it or I can't find how to do it (in the docs and in the code).
Can anybody help with it?
I see that API v.3 allow to specify "named_user" as Audience for the push notification (official docs), but the official PHP library (v.1.3) doesn't support it or I can't find how to do it (in the docs and in the code).
Can anybody help with it?
It looks like UrbanAirship didn't find a time during +1 year to implement this important feature or merge the fix proposed by community from GitHub.
Jonbest implemented a fix.
If you use composer you can link the fixed version instead of official from UrbanAirship. You need to make the following changes in the composer.json:
Add new section
"repositories": [
{
"type": "git",
"url": "https://github.com/jonbest/php-library2"
}
],
Change line in the require section
"require":{
...
"urbanairship/urbanairship": "dev-patch-1",
...
}