gpt4 book ai didi

android - In-App Billing 的 Product Id 应该如何命名?

转载 作者:行者123 更新时间:2023-11-30 00:13:08 28 4
gpt4 key购买 nike

我正在尝试设置应用内结算服务并添加唯一的订阅(月)。Product ID 有一些命名规则:

Product IDs are unique across an app's namespace. A product ID must start with a lowercase letter or a number and must be composed of only lowercase letters (a-z), numbers (0-9), underscores (_), and periods (.). The product ID android.test is reserved, as are all product IDs that start with android.test.

https://developer.android.com/google/play/billing/billing_admin.html#billing-list-setup

我的问题

产品 ID 名称之间是否存在显着差异:

  • myapp.subscription.month
  • myapp_subscription_month
  • myapp.subscription_month

它们都是谷歌规则允许的,以后不能修改,那么命名产品 ID 的最佳做法是什么?

最佳答案

没有区别。做最适合您的事情。

关于android - In-App Billing 的 Product Id 应该如何命名?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47815514/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com