Are there tutorials or guides for setting up the Apple Push Notification server in Rails (3.0)?

I have an application that I create in Rails 3 (and MongoDB using Mongoid). I want to be able to send Apple Push notifications to iOS devices. I know about PRX apn_on_rails and samsoffes' apple_push_notification gems, but they do not work correctly in Rails 3.

Are there any tutorials for setting up an APN server in Rails 3 (and Mongo)?

+3
source share
1 answer

The Apn On Rails project is closely related to ActiveRecord, and ActiveRecord is not compatible with MongoDB. Therefore, you cannot use it with MongoDB.

Your solution is to fork this project and use the Mongo database, not ActiveRecord, or open up some problem to become an agnostic apn_on_rails ORM.

0
source

Source: https://habr.com/ru/post/1751674/


All Articles