اشتراكات Dark Corners iOS Auto المتجددة


يتحول المزيد والمزيد من التطبيقات إلى نظام تحقيق الدخل من الاشتراك. هل تخطط لاستخدام نظام الاشتراك في تطبيقك؟ ثم لك هنا.


Mobius 2019 Moscow Auto-renewable Subscriptions iOS , .


— Mobius 2019 Moscow.



iOS- Mamba. 15 : macOS, Windows, Android, Bada, Tizen Smart TV.


— .


, iOS- , .



  • , .
  • .
  • , — .
  • « » , , , AppStore.
  • « Boost» « » , , .


. .
— , .
— 15% , , 12 , 60 .
— , .


— . - , - , . , , .


: . iOS, Android . , , Android- . , . , . . , . . . , , , , , , . , .



4 , , «». , .



, . , , Apple, , StoreKit, Apple . , . , , , . Apple , Receipt (). Receipt — , - .


, .



-, iOS 7, , Bundle , iOS, . , . -, , , - PKCS#7. payload, , , JSON XML, ANS.1. Receipt , — . . Receipt , , . Receipt AppleId . StoreKit, Receipt .



Apple Receipt, Receipt. .



, , Receipt , , (). — .


.



Receipt , OpenSSL GUID_hash Receipt_hash. GUID_hash Receipt_hash Apple. Receipt ANS.1 . ANS.1 (ans1). , , Objective-C . , GUIDE_hash Receipt_hash, . , Receipt . latest_receipt_info , expires_date. , .


, , . , , . , , .



, , Receipt . , Receipt-, .


Receipt. , . if else , return . .
(exp.date), , , .


.



.



, , , . . — - . — -, .


All in App


, . -, , , NSDefaults. -, , verify, , . -, Jailbreak. , , . Jailbreak, . , , , , , . , , Jailbreak-, , . - , - , , time server’.


, C, Objective-C, , , OpenSSL, . , , , .


— App unlock, API verify



“App unlock, API verify” , , Apple. — API. , , Receipt Apple, JSON. , , .



, , verify . - , Receipt.


- «Man in the middle». «SSL Pinning». SSL . Receipt Apple, .


-, .




, . API, Node.js. Receipt. , . — , , , -, -, .


— All in API



“All in API”, , -, expiration date API.


API, , Receipt, , Receipt, Expiration date , polling’.



. , , . Receipt, Receipt API, . Receipt , . API , , . polling’. polling , API , - Receipt, , Apple. Apple Receipt . Receipt , , .




iOS- . - , . — polling , Receipt- . , . : , , . , , , - , - , , , , , - .


, polling server-to-server notifications. , Apple . , .


Notifications



Notifications callback- URL, iTunes. , , App Transport Security. , SSL-, , Apple. . , SSL . . Notifications Shared Secret, iTunes «password». , , Notification. 2019 Notification «unified_receipt», Receipt. Notification . 2019 unified_receipt. Notifications original_transaction_id, .



Notifications , . 9 , 9 . , , GitHub . — INITIAL_BUY, , . DID_FAIL_TO_RENEW — , , . , , DID_RECOVER, , . RENEWAL, , DID_RECOVER, , , RENEWAL — DID_RECOVER. , WWDC 19, 2020 , RENEWAL . CANCEL : , , Apple Care.



, . DID_CHANGE_RENEWAL_STATUS. , . , , Notification, . Notification — DID_CHANGE_RENEWAL_PREF, , , . INTERACTIVE_RENEWAL , , , , iTunes . Notification, , , . , 2019 , PRICE_INCREASE_CONSENT, , .



— Notification , . polling. WWDC Apple , , . — . Notification 100% . 4 , . polling. polling , , . , .



. , , , .


?


, , .



: c , , .
, , -, , -, . , , , - . , API OpenSSL, , . , , , , .


, Apple, , . , . , Receipt Apple. - , , .


, API . - , , , . , .


, .. , . , , Notification, - , .



, , .


, , . , , , , . , , , - , .


. , , 6 A4, . .



, , , , , . . -, , , .. . — , . — , . , , . , , .



. — , . , , purchase, , , . — , . , , finished.



. — , . — , , - . , , . , , , , , .



. , . expiration date — , . , - , , . , - , , , , StoreKit. , . , . . , - , , . , 6 , . , , , , , , , , . , - . , . , , - .



, . , . -, « », , dark pattern , . , , , «». — . , , . , - , «». — . , , , , , , .



. , , «Weather Alarms», WWDC.



3 . — «», , . -, , UIScrollView , . — , 80$ , . «» , - , .


— «Translate Assistant», «Google Translate».



«», , . . , , .


— . «QR Code Reader» — , , «» , , .


37:36:



. «Fitness balance», , , . .


37:58:



, , , 99$ “”. , consumable In-App, 100 .


, 2018 TechCrunch. , , , . , , , Apple , . - , , -, , review, , AppStore. , - , .. . - Apple developer , , . , - , Apple .
Boost


, , .


— Grace period.



Grace period — , , . WWDC , 7 Grace period 16% . Grace period iOS , , . , iTunes , , .


— promotion AppStore. AppStore , , .


— , Introductory Offers, 2018 , . , iTunes . .


, , , Subscription Offers. 10 , , . — , . -, .


A/B , , .


iOS 13 StoreKit , AppleId — - .
— Subscription Multiple Apps, , , .


: ?


. , , , , , notification. — notification-. - , , , , , notification-, . , , .


StoreKit, , Receipt URL Apple, , . , URL. . - , : - , , Apple Sandbox , ,



, «App unlock, API verify», Apple, . , , , .


— . , , , , , , .
. notification-, , , . , , , . Notifications - , , . : , , .




WWDC, :


Auto-renewable Subscriptions


Engineering Subscriptions


Advanced StoreKit


In-App Purchases and Using Server-to-Server Notifications


Best Practices and What’s New with In-App Purchases


server-to-server notification. notification, , , notification, , . Notification, .




-. Mobius 22 25 -! .

All Articles