code: public static void install(@NonNull Context context, @NonNull String mapboxPackage, @NonNull String version) {
      Context applicationContext;
      if (context.getApplicationContext() == null) {
        // In shared processes content providers getApplicationContext() can return null.
        applicationContext = context;
      } else {
        applicationContext = context.getApplicationContext();
      }
  
      Thread.setDefaultUncaughtExceptionHandler(new MapboxUncaughtExceptionHanlder(applicationContext,
        applicationContext.getSharedPreferences(MAPBOX_CRASH_REPORTER_PREFERENCES, Context.MODE_PRIVATE),
        mapboxPackage, version, Thread.getDefaultUncaughtExceptionHandler()));
    }
docs: Installs exception handler for Mapbox module/sdk
  <p>
  Crash data will land in context.getFilesDir()/${mapboxPackage}/
  
  @param context       application context.
  @param mapboxPackage mapbox package name exceptions to handle.
  @param version       version of mapbox package
  
  <p>
  Note: Package name used to filter exceptions: i.e. `com.mapbox.android.telemetry`
  will catch all telemetry exceptions in the context of a single app process.