Open VladimirAkopyan opened 6 years ago
Realised that this is important - you can't have the app crash on you, and leave no data being captured. and that it's easy to accomplish.
this is blocking #60
await CoreApplication.RequestRestartAsync(payload);
Will be present after anniversary update: https://docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.Core.CoreApplication
Simple - make the app restart itself on crash. That would allow the app to be viable outside Assigned Access mode. It also appears that Assigned Access no longer guarantees that the app will stay running - in recent testing it no longer gets restarted.
This will stop Microsoft laughing on it;s way to the bank.
https://blogs.windows.com/buildingapps/2017/07/28/restart-app-programmatically/#oqBqvmQP6WVLW6xY.97
https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.core.coreapplication#Windows_ApplicationModel_Core_CoreApplication_RequestRestartAsync_System_String_