I want to give my users the option to opt out from reporting crashes to Firebase.
To do this, I'd like to disabled / enable Firebase Crash Reporting at runtime. As far as I know there is no official solution for this yet.
For Android though, this answer provides a workaround. Now I am looking for a way to do this on iOS. Any ideas?
Thank you for your help!
See
https://firebase.google.com/docs/crash/disable-sdk?authuser=1
Crash.sharedInstance().crashCollectionEnabled = false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.