In-App Billing 的 Product Id 应该如何命名?
How should I name In-App Billing's Product Id?
我正在尝试设置应用内结算服务并添加唯一订阅(月)。
产品 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
- …
它们都是 google 规则允许的,以后不能修改,那么命名产品 ID 的最佳做法是什么?
没有区别。做最适合你的事。
我正在尝试设置应用内结算服务并添加唯一订阅(月)。 产品 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
- …
它们都是 google 规则允许的,以后不能修改,那么命名产品 ID 的最佳做法是什么?
没有区别。做最适合你的事。