How to show my app toast after turn on app notification using registry editor
1:Turn Off Notifications for My App in Settings;
2: Navigate to the following path = HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\myApp
3: Turn On Notifications for my App in Registry Editor, Enabled->REG_DWORD = 1;
4: Send Toast my app Msg using winrt::Windows::UI::Notifications::ToastNotifier interface;
5: There is nothing in my sytem notification center and without toast windows;
But ,If I Turn Off Notifications for My App in Settings and turn on it in Settings, it work or if I turn off Notifications for my App in Registry Editor and turn on it in Registry Editor,it work;
Totally if i turn off Notifications for My App in Settings and turn on it in registry editor,it does't work;
Thanks