I've been unable to set up push notifications on iOS using the instructions on this doc. Attempting to use the request generator on the page gives an "unable to locate private key" error with my PEM file.
Attempting to use the API with a self-created request gives me the error "Invalid parameter: PlatformPrincipal not valid.". I tried using newlines, replacing the newlines with '\n', and having a single long string with no newlines, all to no avail; the error remains the same.
I was able to set up Android/GCM notifications using this API. I could always use Firebase on iOS, but it seems wasteful to add a load of extra dependencies when native notifications would serve my needs. Can anyone help?