Colton Idle
08/12/2021, 4:30 PMJavier
08/12/2021, 4:37 PMColton Idle
08/12/2021, 4:40 PMJavier
08/12/2021, 4:41 PMColton Idle
08/12/2021, 4:46 PMtrevjones
08/12/2021, 5:34 PMdata class BuildConfigDebug(val value:Boolean)Jeremy
08/12/2021, 7:54 PMwasyl
08/12/2021, 7:55 PMJeremy
08/12/2021, 7:55 PMBuildConfig or Android framework in therewasyl
08/12/2021, 7:56 PMJeremy
08/12/2021, 7:58 PMJeremy
08/12/2021, 7:59 PMBuildConfig.DEBUG into libraries that are pre-compiled need to inject in somehow, not much choiceColton Idle
08/12/2021, 8:15 PMif (BuildConfig.debug){
Firebase.getInstance().getCrashlytics(disabled = true)
} else {
Firebase.init(BuildConfig.MY_FIREBASE_API_KEY)
}
So just looking at that snippet. I have this feeling that I should provide a wrapper around BuildConfig fields AND Firebase lolJeremy
08/12/2021, 9:35 PMJeremy
08/12/2021, 9:36 PMApplication.onCreate or something?Jeremy
08/12/2021, 9:37 PMApplication.onCreate in a test...Jeremy
08/12/2021, 9:38 PMJeremy
08/12/2021, 9:42 PMJeremy
08/12/2021, 9:43 PMColton Idle
08/13/2021, 2:55 PMJeremy
08/13/2021, 4:58 PMBuildConfig in few places usually around err handling and Application.onCreate so just used directColton Idle
08/13/2021, 4:58 PM