Another huge pain point of UWP: the whole suspend/resume concept.
UWP apps can't be closed by the user. The system manages the lifecycle and there's no way for a developer to know when the app will be terminated and when to save data.
To save your app's data you have to:
- Register for a suspend event
- Ask for an extended execution so that your app is not terminated within a few seconds
- Save your data and cross your fingers that the system does not terminate your app anyway and your data is lost
I recently ported a document-based macOS app to UWP and this was the BIGGEST pain point (aside from the fact that there's no easy way for an app to have more than one window, ouch).