Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Build and publish QA 'flavour' of iOS app #1509

Merged
merged 16 commits into from
Sep 7, 2023
Merged

Build and publish QA 'flavour' of iOS app #1509

merged 16 commits into from
Sep 7, 2023

Conversation

chrisbanes
Copy link
Owner

@chrisbanes chrisbanes commented Sep 6, 2023

This PR changes the iOS app to have 3 'flavours': Debug, QA and Prod which match the Android app.

Since most of the code is in the shared KMP module, we needed a way to create flavours of the shared module. Since the KMP Gradle module doesn't support flavors/variants like AGP, we instead split :shared into :shared:common (common across flavours), :shared:qa and :shared:prod. The Android app module and iOS build phase then chooses which one it uses based on whatever app is being built.

@chrisbanes chrisbanes marked this pull request as ready for review September 7, 2023 07:53
@chrisbanes chrisbanes enabled auto-merge (squash) September 7, 2023 15:58
@chrisbanes chrisbanes merged commit 551f73a into main Sep 7, 2023
@chrisbanes chrisbanes deleted the cb/ios-flavor branch September 7, 2023 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant