Crash Reporting
This feature is automatically activated.
It is available in release flavour of the framework.
With basic integration, Finotes will track and report uncaught exceptions to Finotes dashboard automatically.
Incase the basic integration is not complete, head over to How To Integrate section.
Block Finotes from Reporting Crashes
To prevent Finotes from reporting uncaught exceptions that causes app to force close, add key DisableCrashReporting to the info.plist file.
Info.plist:
<key>FnObserve</key>
<dict>
<key>DisableCrashReporting</key>
<false/>
</dict>
Please make sure that only one FnObserve key exists in your info.plist file.
Deprecated APIs
Both PreventCrashes and PreventCrashReporting APIs are now deprecated and will be removed in a future version.
Flag PreventCrashes and PreventCrashReporting is now deprecated (replaced by DisableCrashReporting within FnObserve) and will be removed in a future version.
Info.plist:
<key>PreventCrashReporting</key>
<true/>
Info.plist:
<key>PreventCrashes</key> //Deprecated
<true/>
Whitelisting Crash Reports
This API is now deprecated and will be removed in a future version. Once the API is removed, this feature will not be supported.
Developers can whitelist crash reporting by adding WhitelistCrashes key in info.plist file. Once whitelisted, only exceptions that are listed in info.plist will be reported by Finotes.
Info.plist:
<key>WhitelistCrashes</key>
<array>
<string>NSInvalidArgumentException</string>
</array>