Android 命名 SKU

Android Naming a SKU

对于我的测试,我使用了:

private static final String SKU_PRO = "android.test.purchased";

现在我想发布我的应用程序并在开发者控制台中创建可购买项目。在发布 apk 之前,我必须知道如何命名 SKU。 在我读到的教程中,他们使用了这个:

"com.example.buttonclick"

但是我的包名是这样的:

"com.myname.myapp"

我的建议是:

"com.myname.myapp.purchasedpro"

这是正确的方法吗?

来自developer docs

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.

Note: Be sure to plan your product ID namespace carefully. You cannot modify an item's product ID after the item is created, and you cannot reuse a product ID within an app.