-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add client suffix on debug builds [ACOL-144] #2678
Conversation
@@ -209,7 +210,8 @@ class CreateAccountCodeViewModel @Inject constructor( | |||
clientScopeProviderFactory.create(userId).clientScope.getOrRegister( | |||
RegisterClientUseCase.RegisterClientParam( | |||
password = password, | |||
capabilities = null | |||
capabilities = null, | |||
modelPostfix = if(BuildConfig.PRIVATE_BUILD) " [${BuildConfig.FLAVOR}_${BuildConfig.BUILD_TYPE}]" else null |
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.
Is PrivateBuild the correct parameter? Won't clients with custom builds also have that?
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.
Nevermind.
It seems we use PRIVATE_BUILD
just for debug stuff. Only visible to us.
I guess we could name it better 🤔
Anyway. LGTM!
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.
Just checked and as default we go with false
, if not set (like the case of those custom builds)
wire-android/buildSrc/src/main/kotlin/scripts/variants.gradle.kts
Lines 178 to 183 in 0f6bace
/** | |
* Process feature flags and if the feature is not included in a product flavor, | |
* a default value of "false" or "deactivated" is used. | |
* | |
* @see "FeatureFlags.kt" file definition. | |
*/ |
Build 3019 failed. |
Build 3030 failed. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #2678 +/- ##
===========================================
+ Coverage 42.88% 42.97% +0.08%
===========================================
Files 405 405
Lines 13468 13473 +5
Branches 2377 2381 +4
===========================================
+ Hits 5776 5790 +14
+ Misses 7019 7001 -18
- Partials 673 682 +9
... and 3 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
APKs built during tests are available here. Scroll down to Artifacts! |
Build 3031 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
When testing different app builds it's hard to know which device is prod build to not remove while adding new device
Solutions
In private builds add to device name flavor and build type
Dependencies
This PR depends on: