Recognize when the app is uninstalled

I wonder if there is any way to recognize when the app is uninstalled. I need to launch a function when that event occurs.

I don’t believe you can launch any kind of function within the app on uninstall.

What you can do is monitor the push notification registration tokens with the apple feedback service (No idea if google has similar). You can then see when the app was uninstalled and perhaps run a function on your web service to send an email or whatever you’re planning to do on uninstall.

If you’re trying to show a message or something on the client when the user uninstalls / deletes the app then I don’t think that is at all possible.

Okay, thanks for the help.

He was trying to throw a REST request, but I see that is not possible.

A greeting!