Android Market Subscription Model. How?

I would like to have two applications. One of them is real work, and the other is for monthly payment (licensing application).

Users must download a licensed application every month from Market. But should they remove the application of the last month before this?

Can an application automatically destroy itself (delete itself)?

+2
source share
3 answers

Check out the new functionality in the billing app , you can use it to renew your subscription / subscription.

+1
source

You have three options.

Option 1 - Your decision, in which the user must install a new paid application every month (the code for deleting the application follows).

Option 2 - Make a server / authentication solution where the application loads the server to ensure that the user paid for this month.

Option 3 - Make your own version when buying Apple in the application, where the user can say, pay via Paypal every month to support the application.

Code for uninstalling applications:

Intent intent = new Intent(Intent.ACTION_DELETE); String packageName = "com.example.app.package"; Uri uri = Uri.fromParts("package", packageName, null); intent.setData(uri); startActivity(intent); 

Your application will need android.permission.DELETE_PACKAGES permission to run the above code.

+2
source

Every month you need to create a new application, because the paid application remains paid, even if you delete your device and / or reset it. The information you bought is tied to the account you are using.

To get a monthly fee, you need to work with a different system, and then on the Android market ... I donโ€™t think of a user who wants to download a new โ€œpaidโ€ application every month ...

+1
source

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


All Articles