I am working on a project in Ruby 1.9.2 and Rails 3 and I am looking for a gem to send push notifications to my iOS app and to my Android app.
I have found one for iOS jtv-apns gem but as I have asked in this question, I haven't been able to make it work and I haven't received any answers yet. I have also found apn_on_rails but as the instructions are not for rails 3, I don't know if it is compatible.
For android, all I have found is c2dm_on_rails so far, but only works with ruby 1.8 and rails 2.
As suggested in this question, Urban ship is not an option for me right now. I would like to implement it myself or find a gem to help me do that.
Do you know any gem I can use for ruby 1.9 and rails 3 or a good tutorial I can follow?
Apple does not charge a separate fee for utilizing the push notification service. Your only cost is a server that will be sending the push notifications to Apple. There are third-parties that provide this servers and there is a fee for that.
Apple announced support for web push notifications for Safari on iOS starting in 2023. At the company's annual developer event WWDC in June 2022, Apple announced that this feature was coming to iOS.
The emulator must enable the Google API for Google Play services. To resolve this issue, the mobile developer must create an emulator that uses Google API as the target OS.
Pushover makes it easy to get real-time notifications on your Android, iPhone, iPad, and Desktop (Android Wear and Apple Watch, too!)
I ended up using apn_on_rails the rails 3 branch. You can find a really good tutorial here
And for android I used speed_c2dm
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