Crash Report Enrichment
Optional
Useful for helping Oriient Support investigate crashes related to the SDK.
Available since SDK v9.7.0.
Overview
When a crash related to the Oriient SDK occurs, it can be difficult to investigate because crash reports usually contain limited information about the events that happened inside the SDK before the crash.
Most crash reporting tools support adding custom information to crash reports. The Oriient SDK can automatically add relevant SDK information to Firebase Crashlytics reports.
Enabling crash report enrichment
Call IPSCore.setCrashReportsEnrichment(enabled:) immediately after a successful Login:
IPSCore.login(apiKey: "", ipsDomain: "") { error in
if error == nil {
IPSCore.setCrashReportsEnrichment(enabled: true)
}
}
Crash report enrichment is disabled by default. The SDK does not add any Oriient-specific information to crash reports unless you enable it.
Added keys
Once enabled, the Oriient SDK adds the following keys to crash reports:
oriientInstallationId— a unique identifier generated by the Oriient SDK for the application installation;oriientSessionId— the ID of the current positioning session, if positioning is active;oriientBuildingId— the ID of the current building.
See also Unique Identifiers.