beeware / briefcase-android-gradle-template

A template for generating Android Gradle projects with Briefcase
MIT License
18 stars 19 forks source link

Add support for passthrough args #62

Closed mhsmith closed 1 year ago

mhsmith commented 1 year ago

Supports https://github.com/beeware/briefcase/pull/1078. The template PR should be merged before the Briefcase one.

PR Checklist:

mhsmith commented 1 year ago

TBD: verify that it's not possible to append to sys.argv more than once in a single process.

mhsmith commented 1 year ago

I was able to get it to add the args multiple times by doing the following on API level 24:

Fixed by moving the args code into the if branch which starts Python.