'How to run code before Crashlytics submits the log?

I'm looking for a way to add some custom keys to the crash log before it was submitted by Crashlytics. There's a solution for Android. Is it possible to do the same on iOS?



Solution 1:[1]

The link you posted is to set a custom key/value when there is an uncaught exception.

Uncaught Error/Exception Handling in Swift

https://firebase.google.com/docs/crashlytics/customize-crash-reports?platform=ios

Check these two links.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ryan