How to give each user a free trial period in app purchase in android

纵饮孤独 提交于 2021-02-11 13:41:44

问题


I want to publish an Android app with 7 days as trial period. Currently I have developed an app but I need some guidance.

I have very little experience and cannot seem to find any useful documentation about implementing a free trial period, so any help would be much appreciated.


回答1:


In-app purchase does not support the case of a trial directly because the in-app billing is a simple one-time purchase model. Your trial of the full-features, entirely within your own code. Specifically you'll have to figure out how you are going to implement this in such a way that a user cannot simply uninstall and reinstall the app to get a fresh free trial. This will need some server-side tracking on your end of device.Once the user trial has elapsed, your app will have to lock the full features. Your app should then support a purchase flow through Google in-app that, when completed, permanently unlocks the full features.

For further details visit the link below https://support.google.com/googleplay/android-developer/answer/140504?hl=en



来源:https://stackoverflow.com/questions/60053898/how-to-give-each-user-a-free-trial-period-in-app-purchase-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!