I keep getting
Unable to generate ICNS file for push notification package
errors emailed to me for the Safari push notifications I've set up on my site. They work without errors for my laptop and any other I've tried, and I've read and re-read the instructions of how to make a push package and mine looks valid...
Reading in Apple's docs, it says the reason for this error is
Your iconset may have malformed PNGs
but I've checked they are all just fine, no transparency, and again they work on my laptop... what the hell? Has anyone else out there experienced this or found a workaround? Anybody know of a push package testing tool?
Web push notifications have been existing on almost all operating systems (Windows, Linux even macOS on desktops and Android on mobiles) and almost all browsers (Chrome, Firefox, MS Edge, Safari, Opera, etc.). The only major operating system which didn't enable web push notifications was iOS.
You can use Amazon Pinpoint to send messages to macOS computers that use Apple's Safari web browser. To send a message to the Safari browser, you must specify the raw message content, and you must include a specific attribute in the message payload.
In my case the error was caused by a wrong DPI of the images.
Solution: http://blog.pushpad.xyz/2016/11/unable-to-generate-icns-file-for-push-notification-package-solved/
I ended up re-making all the icons using the Icons app from the mac app store, and then making the push package using the push_package gem for ruby, and I no longer have the problem:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With