如果卸载应用程序,本机如何 运行 编码

react native how run code if uninstall app

如果我删除了应用程序,有没有办法 运行 代码(例如调用 api 来自动删除一些数据)?

更具体地说,如果用户在未注销的情况下删除应用程序,则调用api删除推送信息

根据this post comment

Sorry, this is not possible. It's not a limitation of React Native - neither Apple or Google give you this metric. You can track your app install numbers in Google Analytics and iTunes Connect, but I believe neither will give you a simple answer either.