Bug? Windows phone 8 Resource Intensive Task on release mode

408 Views Asked by At

My application is using the Auto-upload feature which allows using a Resource Intensive Task to upload pictures.

If I use ScheduledActionService.LaunchForTest then it works fine, but when I erase this line of code, the resource intensive task never executes (and I see that the phone meets all the requirements).

The app is in release mode btw.

What could happen? It will be executed in several hours after or it will never be executed? Is there any bug?

1

There are 1 best solutions below

5
On

You mention that the task stops launching after you remove ScheduledActionService.LaunchForTest...

Did you just remove that line, or did you replace it with ScheduledActionService.Add? You still have to add your task to the scheduler.

EDIT

I'd never encountered this personally, but per another SO question (Any Tips for getting Windows Phone 8 Resource Intensive Task to Run?), there is a known bug in the pre-GDR2 versions of Windows Phone 8 in which Resource-Intensive Tasks simply don't run in Release builds. Ouch.

So if your device hasn't had the GDR2 update... not much to be done, it seems!