uwp - How to make a backgroundtask run in-process -


i have cordova based js uwp app. startup project. using c++ winrt component. want background task (written in c++) communicate main app.

if startup app c++/c# , can specify in app manifest file

<extension category="windows.backgroundtasks" entrypoint="bgtask.backgroundtaskhandler" executable="mainapp.exe">           <backgroundtasks>             <task type="systemevent" />           </backgroundtasks>         </extension> 

but if main app js app, on specifying executable="mainapp.exe" throws error. can tell how this.

executable not required, can omit , should work.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -