Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rubymotion-push-notification

> 编程语言
Open source

Example code to get Push Notifications working in a RubyMotion app

100 stars0 likes2 views
WebsiteGitHub

About

Example code to get Push Notifications working in a RubyMotion app

RubyMotion Push Notification Example

Setup

  1. Configure an application to recieve push notifications using the iOS Provisioning Portal

  2. Copy Rakefile.example to Rakefile and fill in with the values for your application

  3. Run 'rake device' to put the application on your device, it will display a push notification token in an alert view, it also logs it to the console

  4. Run the ruby script in the scripts directory. Place your push notification PEM file (exported from your keychain in p12, converted to PEM) in the same directory to and specify the filename when envoking the script.

     ruby push.rb '{"aps":{"sound":"chime","badge":128,"alert":"This is test message from ruby"}}' DEVICETOKEN PEMFILE

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Ruby

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言