'Android App: how to detect app uninstall from server side to delete datas

I would like to know if there is a simple solution to detect if an user has uninstalled our app on his device from our server ?

It is possible from us to track the uninstall stats from firebase analytics, so I think it should be possible to get this information from our server with the firebase-admin sdk. But I don't know how.

Thanks in advance,

Yann



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source