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
iOS Auto-Renewable SubscriptionのStatus Update N...
Search
Satoshi Takano
May 24, 2018
Technology
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
iOS Auto-Renewable SubscriptionのStatus Update Notification
Mobile Act TOKYO #2 (
https://mobileact.connpass.com/event/85895/
) の発表資料です
Satoshi Takano
May 24, 2018
More Decks by Satoshi Takano
See All by Satoshi Takano
iOS Auto-Renewable SubscriptionについてStoreKit Labで聞いてきた
satoshitakano
0
1.2k
Other Decks in Technology
See All in Technology
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
Local CI × GitHub Actions
gogutan
2
190
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
hackers_champloo_2026_tidb
makocchi
0
160
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
200
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
130
Getting Started with Google Antigravity
glaforge
0
310
継続的なAIコスト最適化
bgpat
1
340
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
699
190k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Typedesign – Prime Four
hannesfritz
42
3.2k
First, design no harm
axbom
PRO
2
1.3k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Bash Introduction
62gerente
615
220k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
RailsConf 2023
tenderlove
30
1.6k
Transcript
iOS Auto-Renewable Subscription ͷStatus Update Notification
ࣗݾհ Satoshi Takano freeeͷϞόΠϧΤϯδχΞ WWDC2018 ࢀՃ͠·͢ʂ
ࠓ͢͜ͱ • iOSͷAuto−Renewable Subscriptionʹ͍ͭͯͷ͓͞Β͍ • Status Update Notificationʹ͍ͭͯ
Auto-Renewable Subscription Ұఆظؒ(1िؒʙ1)ຖʹ՝ۚ͞Εɺࣗ ಈߋ৽͞ΕΔλΠϓͷΞϓϦ՝ۚ
ϓϥϯͷ৽نߪಡ ΞϓϦɾ·ͨApp Store(iOS 11~)͔Βߪೖ͞ΕɺDelegate method͕ݺΕΔͷͰɺଈ࠲ʹ༗ྉϓϥϯΛద༻Ͱ͖Δ
ࣗಈߋ৽ͷܧଓɾఀࢭɾ࠶։ ϓϥϯͷΞοϓάϨʔυɾμϯάϨʔυ ΞϓϦ֎͔Βมߋɾߋ৽͞ΕΔɻ ԿΒ͔ͷํ๏ ͰมߋΛݕ͠ɺαʔϏεͷ՝ۚঢ়ଶʹมߋΛద ༻͢Δ
ԿΒ͔ͷํ๏ʁ → 11ճͷఆظॲཧͰpollingͯ͠·͢
!!! • ϓϥϯͷมߋΛଈ࠲ʹαʔϏεʹөͰ͖ͳ͍ • ಛʹϓϥϯͷΞοϓάϨʔυΛଈ࠲ʹөͰ͖ͳ͍ͷ͕ݫ͠ ͍ • εέʔϧͮ͠Β͍ • ରࣄۀॴ͕૿͑Δͱ1͡ΌऴΘΒͳ͘ͳΔ
• ฒྻԽ͢Δඞ༻͕ग़ͯ͘Δ
Apple͕༻ҙͨ͠ղܾํ๏ Status Update Notification
Status Update Notification • ͍͔ͭ͘ͷߪಡঢ়ଶͷมԽΠϕϯτΛɺࢦఆͨ͠ΤϯυϙΠϯ τʹPOSTϦΫΤετ͢Δ͜ͱͰ௨ͯ͘͠ΕΔ
Status Update Notification • ϦΫΤετύϥϝʔλͷnotification_type͕ΠϕϯτͷछྨΛࣔ ͢ • INITIAL_BUY • CANCEL
• RENEWAL • INTERACTIVE_RENEWAL • DID_CHANGE_RENEWAL_PREF
ඍົʹظͱҧ͏ͷͩͬͨ
CANCEL • ϢʔβʔʹΑΔߪಡఀࢭΛΒͤΔΠϕϯτͰͳ͍ • AppleͷCS͕Ωϟϯηϧͨ͜͠ͱΛΒͤΔͷ
RENEWAL • ࣗಈߋ৽ʹޭͨ࣌͠ʹൃߦ͞ΕΔͷͰͳ͍ • ܾࡁΤϥʔʹΑΓߋ৽ఀࢭ͞Ε͍ͯͨͷ͕ɺ՝ۚ࠶։Ͱ͖ ͨ߹ͳͲʹ͜Ε͕ൃߦ͞ΕΔ ɹ ͳͷͰɺ՝ۚఀࢭɾϓϥϯܧଓΓఆظॲཧͰద༻͠ͳ͍ͱ ͍͚ͳ͍
INTERACTIVE_RENEWAL • In-App PurchaseϓϩάϥϛϯάΨΠυʹʮதஅ͍ͯͨ͠ߪಡ ΛɺΞϓϦ or App Store ͔Βߋ৽ͨ͠߹ʯͱ͋Δ •
ٻΊ͍ͯͨϓϥϯΞοϓάϨʔυ࣌ͷ௨͜ΕͰདྷΔ༷ • Appleͷઆ໌ͱ૬ҧ͕͋Δ͕ɺSandboxڥͰࢼͨ͠ͱ͜Ζ ͦ͏͍͏ڍಈͩͬͨ
DID_CHANGE_RENEWAL_PREF • In-App PurchaseϓϩάϥϛϯάΨΠυʹʮސ٬͕ϓϥϯΛม ߋʢ࣍ͷߪಡߋ৽͔࣌Β༗ޮʣʯͨ࣌͠ͱॻ͔Ε͍ͯΔ • Ϣʔβʔ͕ϓϥϯͷμϯάϨʔυɾΫϩεάϨʔυΛͨ͠ͱ ͖ʹ͜ͷ௨͕དྷΔ • ୠ͠ɺԼҐϓϥϯͷߪಡ͕։࢝͞ΕΔͷʮݱࡏͷϓϥϯͷ
࣍ͷߪಡߋ৽࣌ʯͳͷͰɺ௨ͷ࣌Ͱөͯ͠͠·͏ͱμ ϝ
·ͱΊ
·ͱΊ • ΞοϓάϨʔυΛଈ࠲ʹөͰ͖ͳ͍ղফͰ͖ͦ͏ • εέʔϧͮ͠Β͍͋·Γվળ͠ͳ͍
ऴ