Brandon Howard
09/29/2022, 5:41 PMval isDebuggable = 0 != applicationInfo.flags and ApplicationInfo.FLAG_DEBUGGABLE
I tried using BuildConfig.DEBUG
but thats always falsegildor
10/03/2022, 2:05 AMBrandon Howard
10/03/2022, 12:36 PMgildor
10/03/2022, 12:44 PMBrandon Howard
10/03/2022, 12:51 PMgildor
10/03/2022, 1:12 PMBrandon Howard
10/03/2022, 1:17 PMBrandon Howard
10/03/2022, 1:27 PMio.mylib.BuildConfig.Debug
should return true
when the library was built as debug and false
when it was built as a release. I don’t really want to know the application build type; i was just trying to use that as a work-aroundgildor
10/03/2022, 1:38 PMgildor
10/03/2022, 1:38 PMgildor
10/03/2022, 1:40 PMBrandon Howard
10/03/2022, 2:13 PM