Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable delta bundling on android for haul #961

Merged
merged 1 commit into from
May 23, 2018

Conversation

tuncaulubilge
Copy link
Contributor

Haul does not support delta bundles, so it had to be turned off manually. Found a way to turn it off automatically for android

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
DevInternalSettings settings = (DevInternalSettings) getReactNativeHost().getReactInstanceManager().getDevSupportManager().getDevSettings();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens on non dev builds? does this count as a no-op?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is times-components, so we only use it for dev builds. We will need some checks if we decide to do the same thing in the native app

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm blind 😄

@times-tools
Copy link
Collaborator

If you use Expo, view our components by scanning this qr code:

This has been made possible through Fructose

@tuncaulubilge tuncaulubilge merged commit 6f863b8 into master May 23, 2018
@tuncaulubilge tuncaulubilge deleted the disable-delta-android branch May 23, 2018 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants