code: private void deleteUnsentReportsFromOldAppVersion() {
          final SharedPreferences prefs = new SharedPreferencesFactory(context, config).create();
          final long lastVersionNr = prefs.getInt(ACRA.PREF_LAST_VERSION_NR, 0);
          final int appVersion = getAppVersion();
  
          if (appVersion > lastVersionNr) {
              reportDeleter.deleteReports(true, 0);
              reportDeleter.deleteReports(false, 0);
  
              prefs.edit().putInt(ACRA.PREF_LAST_VERSION_NR, appVersion).apply();
          }
      }
docs: Delete any old unsent reports if this is a newer version of the app than when we last started.