Skip to content

Commit

Permalink
fix: set js delta bundle default value to false (#24848)
Browse files Browse the repository at this point in the history
Summary:
When running Android app for the first time, the packager is requesting delta bundles from metro instead of a bundle (in dev settings delta bundles are disabled by default and marked as experimental). UI of dev settings is not consistent with the current state, to turn off delta bundles you have to enable them and then disable.

[Android] [Fixed] - Disable delta bundles on the first app run
Pull Request resolved: #24848

Differential Revision: D15334059

Pulled By: cpojer

fbshipit-source-id: 384a8abba64c54db3656a4d5d0e24acc825870c8
  • Loading branch information
wojteg1337 authored and facebook-github-bot committed May 14, 2019
1 parent cd9adda commit e4aff42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void setElementInspectorEnabled(boolean enabled) {

@SuppressLint("SharedPreferencesUse")
public boolean isBundleDeltasEnabled() {
return mPreferences.getBoolean(PREFS_JS_BUNDLE_DELTAS_KEY, true);
return mPreferences.getBoolean(PREFS_JS_BUNDLE_DELTAS_KEY, false);
}

@SuppressLint("SharedPreferencesUse")
Expand Down

0 comments on commit e4aff42

Please sign in to comment.