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

Android apk #1136 #1377

Merged
merged 10 commits into from
Jul 23, 2023
Merged

Android apk #1136 #1377

merged 10 commits into from
Jul 23, 2023

Conversation

epba23
Copy link
Contributor

@epba23 epba23 commented Jul 23, 2023

Added apk option to briefcase package android -p
briefcase package android shoul have a -p apk option, which will (a) compile a release APK, and (b) copy that release APK to the dist folder.
Fixes #1136

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

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

Looks good - a couple of fairly minor suggestions inline.


# Make sure the dist folder exists
(tmp_path / "base_path" / "dist").mkdir(parents=True)
return command
Copy link
Member

Choose a reason for hiding this comment

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

This looks like it should be identical to the one in contest - can it be removed?

Comment on lines 37 to 38
def test_default_packaging_format(package_command):
assert package_command.default_packaging_format == "aab"
Copy link
Member

Choose a reason for hiding this comment

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

This test case looks like it should be in the base test_package; although it's returning aab, that's because it's a default, not because aab has been selected here.

changes/1136.misc.rst Outdated Show resolved Hide resolved
Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

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

Awesome - thanks for the contribution!

@freakboy3742 freakboy3742 merged commit 9c0c752 into beeware:main Jul 23, 2023
32 of 35 checks passed
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.

Add APK packaging output for Android Gradle backend
2 participants