Closed reijosirila closed 7 years ago
Good point @reijosirila.
I looked into the current documentations and it looks like both GCM and APN basically have two different priorities. GCM calls them normal and high whereas APN uses 5 and 10.
@appfeel: We should probably have the API accept high and normal as values and translate this for APN to the respective integer values? What do you think?
@alex-friedl yes, that would be the solution.
@reijosirila @alex-friedl are you available to implement? Otherwise I'll try to dedicate time during next 2 weeks.
@appfeel: I could try to implement it this weekend.
@appfeel, @reijosirila https://github.com/appfeel/node-pushnotifications/pull/39 Hope this is what you are looking for
Looks good. Thanks 👍
GCM expects string, but APN expects integer. How to define prioroties for both ?