Skip to content

Android application bundle initial support (build .aab files) #4068

@KristianDD

Description

@KristianDD

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

I want to be able to generate .aab file when building NS Application for Android. This improves the size of the application that will be downloaded by the users from the Play Store.

Describe alternatives you've considered

Using .apk

Additional context

The feature is documented in this Documentation Pull Request
More information about the .aab format here.

Acceptance criteria

  • 1. Should have flag for tns build android command, which should produce .aab file.
  • 2. Should have reference to documentation about using .aab files in output.
  • 3. Should have path to produced .aab file.
  • 4. Should be able to deploy manually .aab file on device using bundletool.
  • 5. Should be able to publish manually to PlayStore .aab file from release build.
  • 6. Should be able to install app from Play Store.
  • 7. Should have error for tns run with aab flag.
  • 8. Should have error for tns build ios with aab flag.
  • 9. Should have error for tns deploy with aab flag.
  • 10. Should have error for tns debug with aab flag.
  • 11. Should have error for tns cloud build with aab flag.
  • 12. Should have error for tns cloud run with aab flag.
  • 13. Should have error for tns cloud deploy with aab flag.
  • 14. Should have error for tns cloud publish with aab flag.
  • 15. Check apk size on device (compare with apk build).
  • 16. Should have error for tns build android --aab, if android-runtime version is below 5.0.0
  • 17. Should work as expected when build with --env.snapshot option with and without configuring
    webpack plugin as described in documentation
  • 18. Should work with and without configuring abiFilters in app.gradle as described in
    documentation

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions