Can I use MetricKit to report crashes happening inside a framework

We are building a framework which will be used by other apps. Want to integrate crash reporting and diagnostics for our framework. Want to report crashes to our backend happening inside our framework only and ignore app level crashes. Is it possible to filter crashes like that ?

Answered by DTS Engineer in 742974022

Not really. MetricKit is targeted at the developer who controls the overall app. IMO the best option here is for you to set up a process for your customers to pass relevant diagnostics on to you.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Not really. MetricKit is targeted at the developer who controls the overall app. IMO the best option here is for you to set up a process for your customers to pass relevant diagnostics on to you.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Is this possible? Can I filter out crashes specific to my library and report those crashes to our backend?

Is there any possible way for the framework developer to generate reports on the framework stability and functionality. As of now we have 0 metrics to offer and track.

Written by mnive93 in 827380022
Is this possible?

It’s not that it’s technically impossible, it’s just that it’s rude. The app developer is responsible for the privacy promises made by their app. If your framework starts uploading metrics behind the app’s back, that put the app developer into a bind.

Again, I recommend that you work with your customers to have them forward the relevant information to you. It’s up to them to decide whether that is consistent with their privacy policy.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Can I use MetricKit to report crashes happening inside a framework
 
 
Q