-
Notifications
You must be signed in to change notification settings - Fork 195
Push 1.1.0 to RubyGems.org? #25
Comments
it was yanked, does somebody knows why? |
Any update on this? The new push notifications introduced in iOS7 won't work without v1.1.0. |
@sdaswani-lookout what do you mean it won't work without it? |
@jeremy-- From what I can tell, you can't send silent push notifications (i.e., no fields except 'content-available=1') with v1.0.0 of APNS. Have they worked for you? |
You're right, the content-available field does not get added to the json hash for some reason |
Yeah, so this is what notifications in the gem provided by rubygems (v1.0.0) looks like
Doesn't even include a field for 'content-available' so it is completely omitted, just override the initializer and packager like so
it also looks like they might pad message identifiers at the end and priorities... but I don't know if that has any effect on what happens with the notification. Hell you could just override the whole class with the code here somewhere in your program until they re-push v1.1.0 to rubygems |
Thanks for the info @jeremy-- ! I actually practiced some self-help and just pushed 1.1.0 to rubygems under a different name: http://rubygems.org/gems/apns-lookout Since my use is pretty limited (I'm only using it for silent pushes) and that use seems to work just fine I'm not worried about the issues that @jpoz says kept him from pushing 1.1.0. @jpoz wants me to start helping out maintain this so I will do that and then hopefully we can push 1.1.0 back to rubygems then. |
1.1.0 was yanked due to #22 |
what's the current status on this? is 1.1.0 ok to use? #22 doesn't seem to have been closed an inactive since Sept. |
Not sure - I switched to https://github.com/nomad/houston since it seemed like this gem wasn't being actively maintained. |
thanks.. i'm on my way to switching to rpush. |
Any idea when you'll push 1.1.0 to rubygems.org? From what I can tell 1.0.0 is the most recent version?
http://rubygems.org/gems/apns
Thanks!
Susheel
The text was updated successfully, but these errors were encountered: