bitrise-steplib / steps-virtual-device-testing-for-android

MIT License
22 stars 23 forks source link

[CI-447] Add fallback apk #85

Closed tothszabi closed 1 year ago

tothszabi commented 1 year ago

Checklist

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

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.