In this PR we are updating the sample-kotlin-android app to work with the new implementation for the refactored Android SDK. We have:
updated to build.gradle.kts from build.gradle
and we have performed a dependency update for the dependencies it was possible to do so. (Regarding updating dependencies at a project level, a new PR will follow.)
removed some useless template tests files
removed some unused code from ui.theme
refactored state and applied a MutableStateFlow for the ViewModel <> composable communication
refactored MyApplication.kt and abstracted code to RudderAnalyticsUtils file
refactored packages from java to kotlin
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Checklist:
[ ] Version upgraded (project, README, gradle, podspec etc)
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added unit tests for the code
[ ] I have made corresponding changes to the documentation
Description
In this PR we are updating the
sample-kotlin-android
app to work with the new implementation for the refactored Android SDK. We have:build.gradle.kts
frombuild.gradle
ui.theme
MutableStateFlow
for the ViewModel <> composable communicationMyApplication.kt
and abstracted code toRudderAnalyticsUtils
filejava
tokotlin
Type of change
Checklist: