-
Notifications
You must be signed in to change notification settings - Fork 498
Conversation
Hi! Thanks for this! This is really helpful when extending / adapting our screenshots. I have an idea how we could further improve this so that we don't need to change actual code during development: Then, in our function that takes the screenshot, we could have something like this: So without this Instrumentation param, our screenshots are taken as usual, but when a developer sets the param, they are stored on the sdcard. What do you think? |
This was my first thought, if you like this way, I can simplify this even further. Wait for my commit below 猬囷笍 |
Yes, I like it very much 馃憤 ! We also have to write it in our Wiki so the other Devs know this "trick" too 馃槈 |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Tested it for the screenshot adaptions for the contact diary extension and works really nice. Great PR :)
Kudos, SonarCloud Quality Gate passed! |
It looks like Screenshots is becoming an important feature for our project.
A question was raised by @LukasLechnerDev here
on how to test that without adding
firebase_screenshots
to the flow?I thought 馃挱 that might we need a solution that we can use during the implementation phase before even pushing to GitHub.
Here it is:
How?
1- From Android Studio edit the configuration and your test parameters:
![Screenshot 2021-02-25 at 15 22 28](https://user-images.githubusercontent.com/25054729/109166726-4d834d00-777d-11eb-89f4-792bc9e52c9b.png)
2- From the command line: