Chucker working fine in react native debug build. how to enable in release build?
karthikkarunanithi91 opened this issue · 3 comments
karthikkarunanithi91 commented
We are using below version
debugImplementation "com.github.chuckerteam.chucker:library:4.1.0-SNAPSHOT"
releaseImplementation "com.github.chuckerteam.chucker:library-no-op:4.1.0-SNAPSHOT"
cortinico commented
Can you explain better what is your problem?
karthikkarunanithi91 commented
chucker working fine in debug build. when i change the build command in terminal like (npx react-native run-android --variant release) the checker is not working
cortinico commented
chucker working fine in debug build. when i change the build command in terminal like (npx react-native run-android --variant release) the checker is not working
Chucker doesn't work in release mode by design (as otherwise your users will see it as well).
If you want to enable it for everyone, also on release mode, you should change your dependencies to be:
implementation "com.github.chuckerteam.chucker:library-no-op:4.1.0-SNAPSHOT"