Skip to content

Commit e4aff42

Browse files
wojteg1337facebook-github-bot
authored andcommitted
fix: set js delta bundle default value to false (#24848)
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
1 parent cd9adda commit e4aff42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactAndroid/src/main/java/com/facebook/react/devsupport/DevInternalSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void setElementInspectorEnabled(boolean enabled) {
136136

137137
@SuppressLint("SharedPreferencesUse")
138138
public boolean isBundleDeltasEnabled() {
139-
return mPreferences.getBoolean(PREFS_JS_BUNDLE_DELTAS_KEY, true);
139+
return mPreferences.getBoolean(PREFS_JS_BUNDLE_DELTAS_KEY, false);
140140
}
141141

142142
@SuppressLint("SharedPreferencesUse")

0 commit comments

Comments
 (0)