Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
[Wheel Lab #2] Apple Service with Rails.
Search
HeChien Hsu
September 17, 2013
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[Wheel Lab #2] Apple Service with Rails.
這是我在Wheel Lab #2的演講投影片,歡迎參考。
HeChien Hsu
September 17, 2013
More Decks by HeChien Hsu
See All by HeChien Hsu
Using Git hosting
hechien
0
66
[Kaohsiung Rails meetup] 國際化影片分享網站
hechien
0
190
[Sokoos][教育訓練] Git - 1
hechien
0
170
[數位教學] 用Bootstrap製作網頁
hechien
0
1.4k
DesignYou - 專題報告投影片
hechien
0
140
[作業] 創意美學
hechien
0
80
[教育訓練] Rails Form Basic
hechien
1
88
[教育訓練] Rails Validation Basic
hechien
1
110
Rails Layout Basic
hechien
2
140
Other Decks in Technology
See All in Technology
Lambda MicroVMsが分からなすぎたので使い所を1から考えてみた
tsukuboshi
2
370
SDDの運用にめげずに向き合った話
sansantech
PRO
0
130
AI時代のAPI開発を加速する品質ガードレール / API Quality Guardrails in the AI Era
yokawasa
0
120
Kernel testing frameworks
ennael
PRO
0
100
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
4
800
KanaAI
shreyas1009
0
150
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
290
【データ横丁主催】AI Agentがコンテキストを使って仕事をした後、何が残るのか― 組織の経験を次の判断に引き継ぐ「Agent Memory」
shisyu_gaku
2
330
AIアプリを使い分けるための共通ツール基盤を考えてみる#devio2026
osawa
0
240
あなたの知らないAmazon VPC Route Server/Amazon VPC Route Server you don't know about
masakiokuda
2
220
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
210
雪かき部 #7 もう怖くない!SELECT文!
foursue
0
280
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
22k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
270
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
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