react-nativeandroid-app-bundleapp-bundle

How do I create an app bundle to publish app on Google Play Store?


I have created a react native app for the first time. To publish the app, I have to create an app bundle(.aab).

How do I create an app bundle?


Solution

  • This is what you do to generate an AAB bundle file.

    cd android
    ./gradlew bundleRelease
    

    Look at this for pre-requisites. To extract an APK out of the bundle and test it on a device before upload then use the bundletool from Google.