vapor-apns
vapor-apns copied to clipboard
Crash in String+APNS.swift
Line 44 try newText.write(toFile: self, atomically: false, encoding: .utf8)
Make the whole app crash
Make sure you have read and write access to the key file. The keyfile is in a wrong file format when downloaded from apple and therefore it needs to be altered in order for it to be readable/parsable.
Could you perhaps also write it in the documentation. Sometimes the web server will not have +w rights on the server instance.