How can an app detect that it's going to be uninstalled in Nativescript?


#1

Is possible detect if the user will remove the APP in Nativescript?

I need it to unsubscribe the users in the topics of Firebase.

Thanks


#2

I don’t think it is not possible to detect uninstallation of own application even in native android.

We can only detect uninstallation of other applications by listening to ACTION_PACKAGE_REMOVED.


#3

you don’t have to worry about unsubscribing from firebase if user uninstalls your app.