What is the ideal way to initiate a background task that utilizes IBackgroundTask
in a universal app designed for windows/windows phone?
In my development process with cordova, I am crafting an application for ios, android, wp8 and windows. Each platform operates a native class before app initialization, allowing the addition of code to kickstart a task/service. However, when creating a windows project through cordova, it generates as a javascript project devoid of any C# file to begin with.
Am I limited to incorporating winJs
code in order to trigger the background task?