Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
[Wheel Lab #2] Apple Service with Rails.
Search
HeChien Hsu
September 17, 2013
Technology
0
78
[Wheel Lab #2] Apple Service with Rails.
這是我在Wheel Lab #2的演講投影片,歡迎參考。
HeChien Hsu
September 17, 2013
Tweet
Share
More Decks by HeChien Hsu
See All by HeChien Hsu
Using Git hosting
hechien
0
45
[Kaohsiung Rails meetup] 國際化影片分享網站
hechien
0
160
[Sokoos][教育訓練] Git - 1
hechien
0
150
[數位教學] 用Bootstrap製作網頁
hechien
0
1.3k
DesignYou - 專題報告投影片
hechien
0
110
[作業] 創意美學
hechien
0
56
[教育訓練] Rails Form Basic
hechien
1
73
[教育訓練] Rails Validation Basic
hechien
1
81
Rails Layout Basic
hechien
2
120
Other Decks in Technology
See All in Technology
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
250
Agile PBL at New Grads Trainings
kawaguti
PRO
1
440
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
250
バイブスに「型」を!Kent Beckに学ぶ、AI時代のテスト駆動開発
amixedcolor
2
570
Generative AI Japan 第一回生成AI実践研究会「AI駆動開発の現在地──ブレイクスルーの鍵を握るのはデータ領域」
shisyu_gaku
0
310
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
230
「何となくテストする」を卒業するためにプロダクトが動く仕組みを理解しよう
kawabeaver
0
420
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
10
75k
roppongirb_20250911
igaiga
1
240
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
380k
プラットフォーム転換期におけるGitHub Copilot活用〜Coding agentがそれを加速するか〜 / Leveraging GitHub Copilot During Platform Transition Periods
aeonpeople
1
190
これでもう迷わない!Jetpack Composeの書き方実践ガイド
zozotech
PRO
0
1k
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
696
190k
Automating Front-end Workflow
addyosmani
1370
200k
Speed Design
sergeychernyshev
32
1.1k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
Fireside Chat
paigeccino
39
3.6k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Done Done
chrislema
185
16k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
530
Navigating Team Friction
lara
189
15k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
Transcript
Apple Services with Rails 徐赫謙
About.me • 徐赫謙 • Web Developer (Rails / C.I.) •
Work @ Sokoos • http://hechien.logdown.com
Apple Service?
None
半⼩小時做得出來才怪
+
+ 這才是主題
Apple Push Notification
流程簡述 iOS device Apple Rails 註冊 取得Device Token 把device token拿去註冊
回傳說個Hi之類的 把訊息「 三點半,起床尿尿了!」 & Device Token送出 三點半,起床尿尿了!
要有哪些東⻄西? • Device Token的接收點 (⾃自⼰己幹) • Background Job (delayed_job) •
Push Notification Gem (jpoz) • APNS憑證 (development & production)
範例
In-App Purchase
流程簡述 iOS device Apple Rails 取得商品列表 送出購買要求 回傳單據 傳送單據驗證 單據轉包Apple驗證
回傳驗證結果 回傳驗證結果
要有哪些東⻄西? • 商品列表管理 • 單據接收點 • 單據驗證功能 (itunes_receipt) • 不需要準備憑證,只是商品資訊要有正
確的product id
範例 http://weblog.plexobject.com/?p=1677
注意 • sandbox 要處理好 • 21007, 21008的問題就是sandbox / production
One more thing
None
駐步
享受
府城之美
可參考資料 • https://blog.serverdensity.com/how-to- build-an-apple-push-notification-provider- server-tutorial/
謝謝 http://sokoos.com