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
2026-09-11 【Snowflake World Tour Tokyo 2026】Snowflakeを起点に、AI Agentが自律稼働し続ける未来へ / Driving AI Agents with Snowflake
civitaspo
0
570
beyond jj: config & tools ecosystem
indirect
0
450
現場で役立つ技術負債の効果的な返済方法
masuda220
PRO
8
4.2k
データ_AIの事業の勝敗をわけるもの
nek0128
0
370
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
4
1.7k
2026_devsumi_ozono.pdf
o3
3
510
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
510
あるけみー式LTスライド作成術
alchemy1115
1
210
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
200
Snowflakeのコスト最適化を支えるアーキテクチャ設計
ktatsuya
1
1.6k
新機種発売前に見直そう!端末移行で再ログインが要るアプリ・要らないアプリは何が違うのか 〜シームレスに再開できる設計と実装〜
zozotech
PRO
0
200
HRC_Frontend_Conference_Fukuoka_2026.pdf
ts020
0
730
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
450
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
520
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
610
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
570
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Scaling GitHub
holman
464
140k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Speed Design
sergeychernyshev
33
2.1k
Statistics for Hackers
jakevdp
799
230k
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ϓϩάϥϛϯάΨΠυʹʮސ٬͕ϓϥϯΛม ߋʢ࣍ͷߪಡߋ৽͔࣌Β༗ޮʣʯͨ࣌͠ͱॻ͔Ε͍ͯΔ • Ϣʔβʔ͕ϓϥϯͷμϯάϨʔυɾΫϩεάϨʔυΛͨ͠ͱ ͖ʹ͜ͷ௨͕དྷΔ • ୠ͠ɺԼҐϓϥϯͷߪಡ͕։࢝͞ΕΔͷʮݱࡏͷϓϥϯͷ
࣍ͷߪಡߋ৽࣌ʯͳͷͰɺ௨ͷ࣌Ͱөͯ͠͠·͏ͱμ ϝ
·ͱΊ
·ͱΊ • ΞοϓάϨʔυΛଈ࠲ʹөͰ͖ͳ͍ղফͰ͖ͦ͏ • εέʔϧͮ͠Β͍͋·Γվળ͠ͳ͍
ऴ