我发现 in-app billing 之间有很多相似之处和 licensing 。据我了解,两者都使用 Google Play 应用来查询某个产品是否已购买。
此外,开发者控制台指出:
Licensing allows you to prevent unauthorized distribution of your app. It can also be used to verify in-app billing purchases.
这两者有何关系?它们之间的主要区别是什么?在哪些情况下,一种方法优于另一种方法?
最佳答案
播放许可是为了确保用户已在Play商店购买了许可。 如您所知,此许可证是永久性的,它不支持订阅。
从您链接的页面:
The Google Play Licensing service is primarily intended for paid applications that wish to verify that the current user did in fact pay for the application on Google Play.
另一方面,应用内结算可以在您自己的应用内销售商品。界面不同。它还支持订阅。从您链接的页面:
You can use In-app Billing to sell products as
- Standard in-app products (one-time billing), or
- Subscriptions, (recurring, automated billing)
关于android - 应用内计费或许可?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24122196/