Reputation: 1
I have a uwp application and I need to handle when the package is uninstalled with PackageCatalog.PackageUninstalling Event. The problem is this event is handled only when the application is running. But when the applicatin is closed the event is not handled. I have seen that it could be possible with Background Taks but I didn't found which appropriate trigger to set when regisetring background task.
Upvotes: 0
Views: 343
Reputation: 32785
How to handle package uninstalling with background task in UWP?
I'm afraid you can't make notification when uninstall uwp app. UWP only support run a background task when your UWP app is updated. And currently there is no such task to do this. If you do want this feature please feel free post your requirement with Windows Feed Back Hub app.
Upvotes: 0