I have Cordova based JS UWP app. It is a startup project. It is also using C++ WINRT component. I want the background task (written in C++) to communicate with the main APP.
If the Startup app is C++/C# , we can specify in the app manifest file
<Extension Category="windows.backgroundTasks" EntryPoint="BGTASK.BackGroundTaskHandler" Executable="MainApp.exe">
<Task Type="systemEvent" />
But if the main app is JS app, on specifying Executable="MainApp.exe" it throws an error. Can anybody tell how to do this.