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.
source share