I am trying to use Helios to send push notifications to my app. The project does not offer any description on where and how to place the .pem file(apns certificate used for push notification). I was hoping that someone on stackoverflow might have experience using helios as a backend for APNs. Some help will be really appreciated.I have hosted the project on heroku and when my app tries to register for Push notifications using oribiter gem it fails and gives the following error:
Registration Error: Error Domain=AFNetworkingErrorDomain Code=-1011 "Expected status code in (200-299), got 500" UserInfo=0x1d871c30 {NSLocalizedRecoverySuggestion=<h1>Internal Server Error</h1>, AFNetworkingOperationFailingURLRequestErrorKey
Please help
I updated the Helios gem using --edge and this resolved this same issue for me.
I did not need to use .env setting.
Under the trunk, Helios is using Houston for APNS client, it takes a couple of ENV variables to setup paths, take a look at this line in source.
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