【文件属性】:
文件名称:ruby-push-notifications:iOS,Android和Windows Phone推送通知变得简单!
文件大小:67KB
文件格式:ZIP
更新时间:2021-02-02 04:50:40
ruby android ios rubygem push-notifications
Ruby推送通知
iOS,Android和Windows Phone推送通知变得简单!
产品特点
iOS和Android支持
完整的错误和重试管理
简单直观的API
安装
将此行添加到您的应用程序的Gemfile中:
gem 'ruby-push-notifications'
然后执行:
$ bundle
或自己安装为:
$ gem install ruby-push-notifications
用法
Ruby Push Notifications gem的使用非常简单。
安装后,需要宝石
创建一个或多个通知
创建相应的pusher
推!!
得到反馈
有关完全详细的示例:
待处理的任务
随时贡献!!
验证iOS通知格式和最大大小
验证iOS令牌格式
验证GCM注册ID格式
验证GCM通知格式和最大大小
如果指定的目的地超过1000个,则将GCM通知拆分为多个部分(当前引发异常)
与APNS反馈服务集成
验证MPNS通知格式
验证MPNS数据
添加其他平台(Amazon Fire ...)
贡献
分叉( )
创建功能分支( git checkout -b my-new
【文件预览】:
ruby-push-notifications-master
----.travis.yml(553B)
----ruby-push-notifications.gemspec(1KB)
----Rakefile(175B)
----gemfiles()
--------Gemfile-legacy(225B)
----LICENSE(1KB)
----Gemfile(169B)
----.rspec(30B)
----examples()
--------fcm.rb(984B)
--------wns.rb(1KB)
--------mpns.rb(760B)
--------gcm.rb(901B)
--------apns.rb(1KB)
----spec()
--------factories.rb(1KB)
--------ruby-push-notifications()
--------support()
--------factories()
--------spec_helper.rb(623B)
----.gitignore(603B)
----CHANGELOG.md(1KB)
----lib()
--------ruby-push-notifications()
--------ruby-push-notifications.rb(308B)
----README.md(4KB)