class SharedPreferencesUtils {

  public void setBooleanPreference(String preference, boolean value) {
    Application application = (Application) firebaseApp.getApplicationContext();
    SharedPreferences.Editor preferencesEditor =
        application.getSharedPreferences(PREFERENCES_PACKAGE_NAME, Context.MODE_PRIVATE).edit();
    preferencesEditor.putBoolean(preference, value);
    preferencesEditor.apply();
  }

  @Inject public  SharedPreferencesUtils(FirebaseApp firebaseApp);

}