Skip to content

feat: add SMS-enabled APK flavor as optional GitHub artifact#17

Merged
HumbleBee14 merged 1 commit intomainfrom
feat/sms-flavor-artifact
Apr 19, 2026
Merged

feat: add SMS-enabled APK flavor as optional GitHub artifact#17
HumbleBee14 merged 1 commit intomainfrom
feat/sms-flavor-artifact

Conversation

@HumbleBee14
Copy link
Copy Markdown
Owner

Splits the Android build into two product flavors so users can pick whether they want the SMS accountability feature.

Summary

  • New playstore flavor (default, no SMS permission) matches the Play Store build
  • New sms flavor includes SEND_SMS permission via flavor-specific manifest
  • Android Studio defaults to playstore via isDefault = true (local builds never include SMS by accident)
  • Release workflow now builds both flavors and attaches both APKs to every GitHub Release
  • Flavor named sms (not github) so CI task names and APK filenames clearly indicate the SMS variant

Type of change

  • feat New feature

Testing

  • PR validation runs assemblePlaystoreDebug + assembleSmsDebug
  • Both flavors compile cleanly
  • SMS permission only present in sms flavor APK

Output files per release:

  • zenlock-vX.Y.Z-debug.apk (default, matches Play Store)
  • zenlock-vX.Y.Z-sms-debug.apk (SMS-enabled)

- Add playstore (default, no SMS) and github (SMS-enabled) product flavors
- Add app/src/github/AndroidManifest.xml with SEND_SMS permission
- Set playstore as isDefault so Android Studio picks it automatically
- Update release workflow to build both flavors and attach both APKs
- Update PR validation build job to compile both flavors
@HumbleBee14 HumbleBee14 merged commit 061006b into main Apr 19, 2026
3 checks passed
@HumbleBee14 HumbleBee14 deleted the feat/sms-flavor-artifact branch April 19, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant