Skip to content

Crash Report Enrichment

Optional

Useful for helping Oriient Support investigate crashes related to the SDK.

Available since SDK v9.8.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() immediately after a successful Login:

IPSCore.login(username, apiKey, ips, new IPSLoginListener() {
    @Override
    public void onLogin(@NonNull List<IPSSpace> list) {
        IPSCore.setCrashReportsEnrichment(true);
    }

    @Override
    public void onLoginError(@NonNull IPSError ipsError) {
        Log.e(TAG, "onLoginError: " + ipsError.getMessage());
    }
});

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.