2
votes

I'm testing tasks in background windows phone 8.1 but the trigger SystemTriggerType.SmsReceived is not working for me . Has anyone managed to make it work ?

I used this example of the MS background task , but only the original version worked.

Replaces this:

var task = BackgroundTaskSample.RegisterBackgroundTask ( BackgroundTaskSample.SampleBackgroundTaskEntryPoint, BackgroundTaskSample.SampleBackgroundTaskName ,new SystemTrigger ( SystemTriggerType.TimeZoneChange , false) ,null) ;

On This :

var task = BackgroundTaskSample.RegisterBackgroundTask (BackgroundTaskSample.SampleBackgroundTaskEntryPoint, BackgroundTaskSample.SampleBackgroundTaskName , new SystemTrigger ( SystemTriggerType.SmsReceived , false) ,null) ;
1

1 Answers

1
votes

SystemTriggerType.SmsReceived is only available to 1st party applications. It's not available to 3rd party application developers.

I'm sorry for us not having the preliminary documentation clarify this. Hopefully the final version of the SDK documentation for Universal Apps (Windows Runtime) will clarify this.