Hello :wave::wave::wave: :tada: I’m excited to ann...
# feed
c
Hello πŸ‘‹πŸ‘‹πŸ‘‹ πŸŽ‰ I’m excited to announce the release of πŸš€ KtorMonitor, a multiplatform plugin library for Ktor Client. Easily monitor and observe the outgoing HTTP requests and response available for Android, iOS and desktop. Feel free to use, suggest, contribute and open issues. Github: https://github.com/CosminMihuMDC/KtorMonitor/ #Ktor #Kotlin #KotlinMultiplatform #OpenSource #Monitoring
πŸ”₯ 5
d
Is there something like a no-op dependency for release builds, or does all the code get compiled into the final apk on releases?
πŸ™ 1
g
Is it possible to share cURL commands? That would be great. Anyways, amazing job!
πŸ™ 1
c
πŸ™Œ 1
@dave08 By default, for release builds the library is disabled, nothing (logs) is saved. Regarding the code library in apps release builds, I have to check if minifying the library for release removes unnecessary code. (for android target there are 2 types of artifacts based on build type - release and debug). https://github.com/CosminMihuMDC/KtorMonitor/issues/8 Thanks for comment.
d
In the case it doesn't get minified, the no-op version that chucker provides for just seems to have a no-op implementation of the entry points... in your case it could be just an empty Ktor plugin that's being installed.
It's something important in Android apps that want to avoid multidex or fatter downloads...
c
πŸ™ everyone for suggestions. Starting with 1.6.0 there are 2 artifacts: -
implementation("ro.cosminmihu.ktor:ktor-monitor-logging:1.6.0")
used for debug builds only -
implementation("ro.cosminmihu.ktor:ktor-monitor-logging-no-op:1.6.0")
used for release builds only
πŸŽ‰ 1