-
Notifications
You must be signed in to change notification settings - Fork 0
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
[#29] 2/2 - Reuse the "android" module from android-templates #32
[#29] 2/2 - Reuse the "android" module from android-templates #32
Conversation
a1a9584
to
aa195d0
Compare
d83565e
to
0a659b5
Compare
db33787
to
bf9aa12
Compare
0845d42
to
b08ebe6
Compare
66f7ebc
to
6f18640
Compare
87e9ce7
to
6e29f3b
Compare
84fa825
to
78b6978
Compare
3c56d25
to
d232c8b
Compare
04bc936
to
7e06831
Compare
Kover report:🧛 Unit Tests Code Coverage:
|
File | Coverage |
---|---|
AppColors.kt |
98.11% |
AppDestination.kt |
83.87% |
AppDimensions.kt |
100.00% |
AppNavigation.kt |
52.63% |
AppShapes.kt |
100.00% |
AppTypography.kt |
100.00% |
BaseViewModel.kt |
73.91% |
ContextExt.kt |
100.00% |
ErrorMapping.kt |
88.00% |
FlowExt.kt |
76.19% |
HomeScreen.kt |
64.16% |
HomeViewModel.kt |
100.00% |
MainActivity.kt |
100.00% |
MainApplication.kt |
100.00% |
Theme.kt |
46.09% |
UiModel.kt |
84.21% |
Modified Files Not Found In Coverage Report:
.gitignore
.gitmodules
AndroidManifest.xml
AndroidManifest.xml
AppModule.kt
BaseScreenTest.kt
CoroutineTestRule.kt
Dependencies.kt
Dependencies.kt
DispatchersProvider.kt
DispatchersProvider.kt
HomeScreenTest.kt
HomeViewModelTest.kt
MockUtil.kt
Plugins.kt
Plugins.kt
Versions.kt
Versions.kt
ViewModelModule.kt
android
backup_rules.xml
build.gradle.kts
data_extraction_rules.xml
ic_launcher.webp
ic_launcher.webp
ic_launcher.webp
ic_launcher.webp
ic_launcher.webp
ic_launcher.xml
ic_launcher_background.xml
ic_launcher_foreground.xml
ic_launcher_round.webp
ic_launcher_round.webp
ic_launcher_round.webp
ic_launcher_round.webp
ic_launcher_round.webp
ic_launcher_round.xml
make.sh
make_android.sh
network_security_config.xml
network_security_config.xml
proguard-rules.pro
project.pbxproj
robolectric.properties
settings.gradle.kts
settings.gradle.kts
strings.xml
strings.xml
test.yml
test.yml
themes.xml
Codebase cunningly covered by count Shroud 🧛
Generated by 🚫 Danger
@@ -0,0 +1,86 @@ | |||
#!/bin/sh |
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.
@luongvo What do you think about using kscript? Under the hood, this templates is more related to kotlin
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.
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.
The rest LGTM
sample/android/src/main/java/co/nimblehq/kmm/template/di/modules/AppModule.kt
Show resolved
Hide resolved
sample/android/src/main/java/co/nimblehq/kmm/template/ui/base/BaseViewModel.kt
Show resolved
Hide resolved
@kaungkhantsoe @phongvhd93 Can I have your reviews here? |
sample/android/src/main/java/co/nimblehq/kmm/template/ui/screens/home/HomeViewModel.kt
Show resolved
Hide resolved
It isn't a big deal. Just only optional things. So approve. |
@phongvhd93 your turn 💁♂️ |
What happened 👀
Install Kscript
step to execute the script from Android Templates.android
module folder and replace it with a submodule of the Android app from Android Templates.Insight 📝
cleanNewProjectFolder()
andbuildProjectAndRunTests()
callers inscripts/new_project.kts
.initKoin
from KMM is atco.nimblehq.kmm.template.di.initKoin
.message
getting logic.BASE_API_URL
definition 👉 removed.Proof Of Work 📹