locked
Push Notifications in BackgroundTask without lockscreen access.

    Question

  • I create some BT:

                        var name = "PushNotificationReciwer";
                        var taskEntryPoint = "BackgrowndTask.PushNotificationReciwer";
                        IBackgroundTrigger trigger = new PushNotificationTrigger();


                        var builder = new BackgroundTaskBuilder();

                        builder.Name = name;
                        builder.TaskEntryPoint = taskEntryPoint;
                        builder.SetTrigger(trigger);

                        builder.Register();

    Can it work without await BackgroundExecutionManager.RequestAccessAsync()?

                       
    Tuesday, February 10, 2015 2:59 PM

Answers

  • no it's not possible. check the documentation about if here: backgroundtasks

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    • Marked as answer by Shadow_of_hope Wednesday, February 11, 2015 10:38 AM
    Tuesday, February 10, 2015 3:45 PM