Thanks, Matt for your reply. \n\n
If you are running a background URLSessionDataTask then this is also not intended to work either. Only URLSessionUploadTask and URLSessionDownloadTask should be used in a background URLSession.
\n\n
```Yes, I'm using the URLSessionDataTask but it's a default configuration, what I thought that It can be work the same way like we generally did for a silent
push notification (Invoke app in the background). I also tried to add backgroundhandler block which generally waits for some time before going to
suspend state. ```
\n\n
If you need to upload the status of a network call, then you would need to save this status for either your foreground session when your app is no longer suspended and active, or you could investigate whether a URLSessionDataTask works with a BGAppRefreshTaskRequest. The pitfall with the BGTask side of things is that these tasks are not intended to run frequently and you should expect that there could be long gaps in-between running these tasks.
\n\n
I can check for BGAppRefreshTaskRequest.```
Post
Replies
Boosts
Views
Activity
Thanks for the reply, I will check on this.
@marco_nikic
Did you get any updates on this?
Did you find a way to collect fundaments metrics for NetworkExtension using metricKit?
@hardloafz,
Did you get any updates on this? Did you find a way to collect fundaments metrics for NetworkExtension using metricKit?
I have not reported these tickets FB8903549, FB8883832, and am unable to see the status.
@meaton, I subscribed for MXMetricManager in NetworkExtension and waited for more than 24Hrs, but I did not get any callback in NetworkExtension.
Pls, suggest.