Users need to upload an application apk when they want to run instrumentation tests for their library module. The end product of these projects is a library and they do not produce any applications. But this application apk is required for firebase device testing.
Our current solution is to recommend to our users to gather any kind of small apk which they can use during testing.
These changes will apply the above mentioned workaround without any user interaction.
A warning is printed to highlight that the step will use the embedded empty Android application if the AppPath value is not defined.
The embedded Android application is basically just an empty shell with a single Activity. It's size is only 768Kb which I could not make it any smaller.
Checklist
step.yml
andREADME.md
is updated with the changes (if needed)Version
Requires a MINOR version update
Context
Users need to upload an application apk when they want to run instrumentation tests for their library module. The end product of these projects is a library and they do not produce any applications. But this application apk is required for firebase device testing.
Our current solution is to recommend to our users to gather any kind of small apk which they can use during testing.
These changes will apply the above mentioned workaround without any user interaction.
Ran a test build with my custom library project and the new step changes and it was working: https://app.bitrise.io/build/1efde26f-8111-4920-a8ed-01f757e925b8
Changes
AppPath
is not a mandatory value anymore.AppPath
value is not defined.The embedded Android application is basically just an empty shell with a single Activity. It's size is only 768Kb which I could not make it any smaller.