Update your React Native Apps to be 64 Bit Compliant by August 1, 2019

By Rashid •  July 13th, 2019 • 

If you have react native made Android apps published on Google Play Store then you might have received email from Google Play Store telling to make your app 64 bit compliant. The email you got from Google Play Store starts as given below:

Hello Google Play Developer,By August 1, 2019, all apps that use native code must provide a 64-bit version in order to publish an update. As of the sending of this email, at least one of your apps* does not yet meet the requirement:

As the 64 bit version apps will be faster and performance oriented, Google wants us to provide 64 bit version of our app too. You can read the official blog post from Google about 64 bit compliance here.

As a react native developer what can you do about this? If you are using react native version less than 0.59 then you must upgrade your apps to react native 0.59 or higher. React native supports 64 bit only from 0.59 version.

Also, make sure your app has following lines in your MyProject/Android/App/Build.gradle file.

splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk true  // If true, also generate a universal APK
            include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
        }
    }

Yes, upgrading react native version is painful but to keep up with the fast changes happening in the Android world you have to do this.

Rashid

Keep Reading