Pro Yearly is on sale from $80 to $50! »

What’s new in Google Play Billing v1.2

934a9e49edc3174d09ab2e09daed5062?s=47 ymnder
March 18, 2019

What’s new in Google Play Billing v1.2

Otemachi.apk #02 2019/3/18 @ymnd
https://nikkei.connpass.com/event/120816/

934a9e49edc3174d09ab2e09daed5062?s=128

ymnder

March 18, 2019
Tweet

Transcript

  1. What s new in Google Play Billing v1.2 Otemachi.apk #02

    2019/3/18 @ymnd
  2. https://speakerdeck.com/ymnder/xiang-jie-ding-qi- gou-ru What's new in Google Play Billing v1.0 ->

    v1.1 https://speakerdeck.com/ymnder/whats-new-in- google-play-billing 2
  3. Google Play Billing Library v1.1 -> v1.2(released 2018-10-18) https://developer.android.com/google/play/billing/ billing_library_releases_notes

    3
  4. v1.1 -> v1.2 proration mode BillingFlowParams API Release note loadRewardedSku

    setChildDirected 4
  5. Android > The Play Billing Library is now licensed under

    the Android Software Development Kit License Agreement. https://developer.android.com/studio/terms?hl=ja 5
  6. proration mode DEFERRED Mode > Added support for a new

    proration mode, DEFERRED, when upgrading or downgrading a user's subscription. https://developer.android.com/google/play/billing/ billing_subscriptions#prorate 6
  7. proration mode IMMEDIATE_WITH_TIME_PRORATION: default IMMEDIATE_AND_CHARGE_PRORATED_PRICE IMMEDIATE_WITHOUT_PRORATION [NEW!!] DEFERRED 7

  8. New proration mode DEFERRED 8 4/1 5/1 A B 4/15

    $1 $3
  9. BillingFlowParams BillingFlowParams > In the BillingFlowParams class, replaced setSku() with

    setSkuDetails(). setSku deprecated skuId skuType querySkuDetailsAsync SkuDetails API 9
  10. API API > Added the launchPriceChangeCon rmationFlow API, which prompts

    users to review a pending change to a subscription price. I/O 2018 Grow and optimize your subscriptions with new Google Play features (Google I/O '18) https://youtu.be/x1AYelepG6o?t=1176 10
  11. ID ID PlayConsole Price changes 
 https://support.google.com/googleplay/android- developer/answer/140504 11

  12. ID 12

  13. ID ID PlayConsole 13

  14. 14

  15. 15 37೔લ 30೔લ ৽Ձ֨ Ձ֨มߋ೔ ͓஌Βͤ طଘ ৽ن $3 $3

    $1 ←ɹɹ͜ͷظؒʹಉҙͨ͠Βܧଓɹɹ→
  16. PlayStore Web PlayStore PlayStore 16

  17. launchPriceChangeCon rmationFlow 17

  18. 1. querySkuDetailsAsync SkuDetails 2. SkuDetails PriceChangeFlowParams 3. PriceChangeFlowParams PriceChangeCon rmationListener

    launchPriceChangeCon rmationFlow 18
  19. dismiss USER_CANCELED ERROR 19

  20. ID ID 20

  21. Play Billing Library 1.2.1 Release (2019-03-04) Play Billing Library 1.2.2

    Release (2019-03-07) 21
  22. None
  23. whoami twitter:@ymnd, github:@ymnder Application Engineer Android Android Nikkei Development Book

    23
  24. We are hiring!!! Android https://s.nikkei.com/s_android 24

  25. 25