Ver código fonte

Merge branch '126-releaseDisableKMLogger' into 'master'

Resolve "release時應關閉SDK KMLogger輸出"

See merge request kdanandroid/pdf/pdfreaderreadermodule!58
Wayne Huang 5 anos atrás
pai
commit
65675f9354

+ 2 - 0
src/main/java/com/kdanmobile/reader/InitializerContentProvider.kt

@@ -20,6 +20,8 @@ class InitializerContentProvider : ContentProvider() {
             androidContext(context)
             modules(KoinModule.m)
         }
+
+        com.kdanmobile.kmpdfkit.globaldata.Config.DEBUG_ENABLE = BuildConfig.DEBUG
         return true
     }