Systers Community
Create product flavors for Android Applications
Each build variant represents a different version of your app that you can build.
Prerequisite:
- Clone and Build Powerup application Github Repo
- Fetch the latest version of code from branch "GSoC17"
Steps:
- Learn about Product flavours here
- Create two product flavours namely "free" & "paid"
- For free flavor , hide About button(set invisible in layout)
- For paid flavor, don't make any changes.
- Select different build variant(bottom-left corner in android studio) & build application
- Run application for freeDebug and paidDebug version and take screenshots.
Resources:
- Ask any questions or directions in the #powerup on Systers Open Source Slack. Mention @prachi1210 or @geekanamika
- Read about Product flavours here
- Mention @geekanamika if you need help on this task
- Read about build.gradle file at this link
Work Submission:
- Create a pull-request with changed build.gradle file
- Screen-shots for freeDebug and paidDebug version(with and without about button)
- Screenshot of build-variant section (show all available build-variants)
Task tags
Students who completed this task
Sameer, Valentun, Erika Tan, Aryaman Agrawal