[Solved] I don’t want my app to get uninstalled by user for a particular period of time


There is no way to do this, unless the app is enrolled in Android Enterprise (which is their program to allow businesses to control fleets of hardware. Using that you can install apps and prevent their uninstallation). Otherwise no, there’s no way an app can prevent the user from uninstalling itself. That would basically make malware unremovable.

solved I don’t want my app to get uninstalled by user for a particular period of time