Update regarding 64-bit Support And Branch

We already know that Apk file sizes made with Expo are too big when we compare with Pure RN builds.

After adding 64 Bit support, Apk file sizes almost doubled. Is there any way to split builds by architectures? Or are you planning to do it?

Great news! Assuming I’m already using SDK33 - do I need to do any other updates/changes? Or expo build:android command will automatically provide me with 64-bit version?

Hey @harky, you can make use of Android App Bundles (AAB) by running the command expo build:android -t app-bundle.

1 Like

64-bit support will be enabled automatically when building as long as you’re using an up-to-date version of expo cli!

Thanks for your help. I really need this line of command :smile:

Thank you so much.

1 Like

So, What about the projects with SDK 32.0.0?

Hey @woohgo,

As I mentioned above, you’ll need to update as SDK32 is running on RN 0.57 and only as of RN 0.59 was 64-bit support available.

Cheers!

@adamjnav any idea on ETA for getting this into ExpoKit v33? Thanks!

Hey @mjgallag,

You can actually do this now. Another developer followed this guide and successfully built a 64-bit ExpoKit app. https://medium.com/@andriidrozdov/reactnative-and-android-64-bit-new-google-play-market-rules-what-to-do-584b067d6f1a

Cheers!

Hey, thanks so much for clarifying, much appreciated post!!

Is there anything special we need to do to enable 64-bit on an SDK 33 ExpoKit project? Do we upgrade to a particular point release of expokit?

2 Likes

So for ExpoKit, we will need update Expo SDK to 33 version, and also follow that guide?

@adamjnav All of that guides are unclear and messy, if I have ExpoKit version 32, what should be updated in which order? In this blogpost, says that we should use that guide if we have ExpoKit 33 and higher. Where is the guide how to update ExpoKit from 32 to 33 then?

@adamjnav Is that this guide? https://docs.expo.io/versions/latest/workflow/upgrading-expo-sdk-walkthrough/ or there is some another guide for ExpoKit?

Hey @luckygirlllll,

The guide for ExpoKit upgrades are found here: https://docs.expo.io/versions/latest/expokit/expokit/#upgrading-expokit

Cheers,
Adam

Thanks! Should I update expo before updating ExpoKit, in that case?

I mean, should I do this step (changing dependency in package.json):

{
“react-native”: “https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz”,
“expo”: “^33.0.0”,
“react”: “16.8.3”
}

@adamjnav To what version I should update react native, when I’m on that step? should it be 0.59.1 or “https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz” ?

Yep! Follow the normal Js instructions and then proceed to ExpoKit specific instructions. My bad did not thoroughly read your comment. Use the tar.gz url!

[quote=“luckygirlllll, post:20, topic:25103”]
@adamjnav @adamjnav To what version I should update react native, when I’m on that step? should it be 0.59.1 or “https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz” ?

I edited my answer above!