Hello everyone. I'm using moko-network in my app w...
# moko
s
Hello everyone. I'm using moko-network in my app which generates the api based on the scheme provided. Is it possible to configure scheme based on debug/release builds? Currently, I'm changing it manually inside the scheme..(
a
hi. no, it's not possible now. in kotlin multiplatform you not have any specific sources for debug/release. so we can't generate separated debug and release api. all that i can suggest - add inside your gradle config some property like "apiFileName" and instead of constant in build.gradle use this property. by default set in gradle.properties your debug api name and in CI config pass in gradle task option
-PapiFileName=myreleasefile