0 Replies
      Latest reply on Sep 18, 2018 8:38 PM by duncang
      duncang Level 1 Level 1 (0 points)

        I am having trouble getting a Fitness Task to run - it seems the task is completely suspended when the iPhone lockscreen is activated.

         

        Are the ResearchKit Active Tasks supposed to be able to run in the background ? 

         

        If not then are they of any practical use ? 

         

        Is there any point in having a fitness task with a timer, sound and vibration if the app becomes suspended once the users phones lock screen becomes active?

         

        I have been looking into the source code and see that even the LocationManager is not configured to run in the background.

         

        Am I being unrealistic to expect that these tasks would continue running in the background ? 

         

        Hopefully I just missed some basic configuration option somewhere!