Detect if an app was uninstalled

前端 未结 4 1653
忘了有多久
忘了有多久 2021-01-17 15:34

Is there a way to get a system notification when an app has been uninstalled?

I would like to maintain a table of all clients\' info currently using my app. However

4条回答
  •  耶瑟儿~
    2021-01-17 16:33

    The documentation for the PACKAGE_REMOVED action says the following:

    The package that is being uninstalled does not receive this Intent.

    So you can monitor for other applications being uninstalled but not your own.

    So you'll probably need track who is still using your application, not who has stopped using it. If you don't want the overhead of having your own server to do this you could use a free service like Flurry.

提交回复
热议问题