5 Replies
      Latest reply on Nov 16, 2019 8:47 AM by mwmv
      tadija Level 1 Level 1 (0 points)

        Hello,

         

        I get this message in console few seconds after I press Home button and app goes to background:

         

        Can't endBackgroundTask: no background task exists with identifier 20, or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.

         

        I have two questions:

         

        1. I don't have any background tasks implemented, can this come from some 3rd party library such as Google Analytics or Fabric for example?

         

        2. How do I "Break in UIApplicationEndBackgroundTaskError() to debug" to find out more about it? Where is it, how to do it? I don't see any docs for this UIApplicationEndBackgroundTaskError() function.

         

        Edit: Also, it seems that this is happening only in simulator, but not when runned on device.

         

        Edit2: It looks like it's coming from Fabric and TwitterKit.

         

        Thanks,

        // T