Sending Apple Push notification within an Edge function
Does someone already tried sending push notification through Apple Push Notification Service with an Edge function?
Unfortunately I can't do it because can't solve the problem around the authentication cert file. I already tried to store the content in a variable both inside the function's code and also in an environment variable, but I always get an error (Error: secretOrPrivateKey is not valid key material). I also tried to read the p8 file directly from the disk but in that case I get a file system access error.
Unfortunately I can't do it because can't solve the problem around the authentication cert file. I already tried to store the content in a variable both inside the function's code and also in an environment variable, but I always get an error (Error: secretOrPrivateKey is not valid key material). I also tried to read the p8 file directly from the disk but in that case I get a file system access error.