Refactors project to allow ease of adding more modules to the project#3
Closed
pablobaxter wants to merge 12 commits into
Closed
Refactors project to allow ease of adding more modules to the project#3pablobaxter wants to merge 12 commits into
pablobaxter wants to merge 12 commits into
Conversation
Contributor
Author
|
@tore-statsig CI had been failing due to invalid key, which is probably looking for the key you guys have on your end. Updated the PR to match the latest release (v4.4.0). |
statsig-kong Bot
pushed a commit
that referenced
this pull request
May 20, 2026
### TL;DR Allow updating eventLoggingApi at runtime. ### Why make this change? Feature request to support a cutover between two logging endpoints ### What changed? * Added `eventLoggingAPI` to `StatsigRuntimeMutableOptions` and updated `StatsigOptions` accordingly * Added `setApi()` to `StatsigLogger` and updated `api` field from val to var * Added logic for the logging api change to `StatsigClient`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will do the following:
settings.gradlefile, making it easier to add more modules.android-sdkmodule.android-sdkmodule'sgradle.propertiesfile. This is automatically set for the project on evaluation.testLoggingso that it is properly set.statsig-publishplugin centralize publishing configuration for any new modules.Things to consider:
./gradlew :libraryfor any gradle tasks, instead use./gradlew :android-sdk../gradlew :android-sdk:publishReleasePublicationToStatsigBuildRepository.Thoughts for the future:
.classgenerated sources. Having proper documentation written would be highly beneficial here.