All Questions
Tagged with ruby-on-rails apple-push-notifications
76
questions
0
votes
0
answers
26
views
RPush sending APNs 403/InvalidProviderToken
recently I'm struggling with adding APNs feature to my Ruby on Rails(7) project using RPush. I made some wrong config before and that lead to a failed launch of rails s, then I found and fixed it so I ...
6
votes
3
answers
459
views
ios push notification not received after getting out of airplane mode
I'm sending a push notification using Noticed Gem during the night when my phone is in airplane mode. When I wake up and disable the airplane mode, I don't get the push notification.
These are the ...
1
vote
1
answer
175
views
Integrating SwiftUI iOS Push Notification APN with Rails JSON backend
I am creating an iOS app that uses swiftUI for the app but it talks to a Rails Backend via HTTP requests to JSON. I would like to be able to send push notifications from the backend to users of the ...
0
votes
1
answer
454
views
Rails Apnotic OpenSSL alert certificate expired error
I'm trying to send Apple Push Notifications from a Rails app using the Apnotic gem.
I get the following error when I run @ios_client.push(note).
Traceback (most recent call last):
5: from /app/...
0
votes
1
answer
245
views
How to get rpush to recognize a new certificate
This concerns the rpush gem, a push notification service that I am using for Apple push notifications. I'm using the Rpush::Apns2 mode.
I'm having a mysterious problem getting rpush to see a new ...
0
votes
0
answers
88
views
How to convert Rpush 2.X gem to use Apple APNS/2
In March Apple is discontinuing the APNS/1 server for push notifications requiring me to upgrade my Rails 4.1.16 to APNS/2.
I currently use the Rails gem Rpush version 2.7.0 to send APNS/1 push ...
2
votes
1
answer
2k
views
I am using `fcm` gem to send push notification it is working fine for android but not for IOS
I am developing Backend where notification need to be send to IOS devises. I have configured properly APN certificates password and everything on Firebase but still sometime notification is going to ...
0
votes
2
answers
508
views
Sidekiq perform_async with Apnotic (Apple Push Notifications)
I'm receiving this an error when trying to run Sidekiq workers asynchronously, which I am not receiving when the code is run on the main thread.
I'm trying to send push notifications to an iOS app, ...
0
votes
0
answers
643
views
30-40 second delay in pushing iOS notifications using AWS SNS
We are using AWS SNS and APNS to send notifications to iOS (Swift) from a Ruby on Rails server. The notifications are going through to iOS but taking about 30-40 seconds which is unacceptable for our ...
3
votes
0
answers
275
views
Apple Push Notification suddenly started to throw an error: Socket was remotely closed
I use the following code to send notification through the apple push notification api. It worked well until a few days ago when it started throwing an error:
Socket was remotely closed
This is the ...
1
vote
0
answers
479
views
POST request timing out on request to APN server
I'm trying to set up Apple Push Notifications through a Rails back-end. I'm using the NetHttp2 gem to create the connection and jwt to sign my tokens.
Here's a sample of the responses I get when ...
1
vote
1
answer
444
views
How to pass arguments to initialize method from a class?
I am using Push8 gem for Apple push notification which accepts .P8 certificates.The problem is that I have two bundle_id for two separate apps and need to send Push Notifications to both of them. The ...
0
votes
1
answer
579
views
Registering Apple Wallet Pass for push notifications
I believe I understand from here https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/PassKit_PG/Updating.html#//apple_ref/doc/uid/TP40012195-CH5-SW1 the high-level of ...
3
votes
1
answer
671
views
Encoding JWT key for APNS using rails RPUSH gem
I want to use JWT key to send push notifications
I searched for libraries implementing JWT token standard: https://jwt.io/
So I found ruby-jwt gem: https://github.com/jwt/ruby-jwt
But it seems that ...
1
vote
1
answer
1k
views
OpenSSL::PKey::RSAError (Neither PUB key nor PRIV key: nested asn1 error) while using Grocer gem on RoR app
I know there are a lot of questions on this scenario but I've tried every solution and I am still stuck. I am using the grocer gem to send push notifications to the APN service. I am stuck on the ...