Demo application

What is the recommended way to create a demo for the application. In principle, the demo version will be fully functional, but will be limited to its launch by 25 times. My concern is that if the user uninstalls and reinstalls, then the account will reset.

I was thinking of writing a data file to an SD card with the number of actions performed (in the hope that this will be preserved after deletion), but I do not want to add this permission if I can avoid it.

After deletion, any suggestions on how to use some type of demo flag will be saved?

+4
source share
1 answer

Even if it is on an SD card, there is no reason why the user cannot just go and delete his file.

I asked a similar question a few months ago , but that was for a copy of the review, not a demo. You could do something similar to what Dave Webb suggested and store each user device identifier on the server. This would mean that you need READ_PHONE_STATE and INTERNET permissions, and I understand that I do not want to add additional permissions. However, this is the only reliable way that I can come up with to ensure that the application runs only X times, since any change you make on the phone can be undone.

mbaird indicated that anyone can install the full version of your application and try it for one day before requesting a refund ; keeping in mind that you can make a demographic version that informs the user about this (not often used) market functionality.

+3
source

Source: https://habr.com/ru/post/1307805/


All Articles