Stop uninstallation of application

后端 未结 3 736
慢半拍i
慢半拍i 2020-12-14 14:01

i create an app and install it on phone. now i want to add a feature that my app should not uninstall from the phone. so i think if one of the following issues could be solv

3条回答
  •  死守一世寂寞
    2020-12-14 14:20

    is it possible , if user try to uninstall the app we get a message?

    As Christopher said above, you can be notified when the user has removed your application.

    PACKAGE_REMOVED broadcast is sent to notify that a package is removed. You can use it to get notified.

    But I don't find it right to "prevent" user from removing your application. As a matter of UX, its their phone, and they've got full rights to add/remove whatever they want.

    It is the same with PCs too!

提交回复
热议问题