norkunas/onesignal-php-api

Add field "apns_push_type_override"

Closed this issue · 3 comments

Hi,

There is a change in OneSignal API for VOIP : Issue Github
This is the OneSignal API with the new field : Here

Here it's my temporary fix in NotificationResolver.php :

->setDefined('apns_push_type_override')
->setAllowedTypes('apns_push_type_override', 'string')

Can you change your code ?
Thanks a lot for your work !

Valentin

Hello, maybe would you like to contribute and make pull request for this yourself? 🙂

Thank you. Could you also add it to the tests? :)