norkunas / onesignal-php-api

OneSignal API for PHP
MIT License
233 stars 82 forks source link

Add field "apns_push_type_override" #133

Closed valentintintin closed 4 years ago

valentintintin commented 4 years ago

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

norkunas commented 4 years ago

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

valentintintin commented 4 years ago

Hi, here it is :)

norkunas commented 4 years ago

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