File tree Expand file tree Collapse file tree
kotlin/com/flipcash/app/internal/startup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,6 +247,8 @@ dependencies {
247247
248248 implementation(libs.androidx.browser)
249249
250+ implementation(libs.androidx.camerax.lifecycle)
251+
250252 implementation(libs.slf4j)
251253 implementation(libs.grpc.android)
252254
Original file line number Diff line number Diff line change 275275 android : name =" com.flipcash.app.internal.startup.DiscreteBondingCurveInitializer"
276276 android : value =" androidx.startup" />
277277
278+ <meta-data
279+ android : name =" com.flipcash.app.internal.startup.CameraXInitializer"
280+ android : value =" androidx.startup" />
281+
278282 </provider >
279283 </application >
280284
Original file line number Diff line number Diff line change 1+ package com.flipcash.app.internal.startup
2+
3+ import android.content.Context
4+ import androidx.camera.lifecycle.ProcessCameraProvider
5+ import androidx.startup.Initializer
6+
7+ class CameraXInitializer : Initializer <Unit > {
8+ override fun create (context : Context ) {
9+ ProcessCameraProvider .getInstance(context)
10+ }
11+
12+ override fun dependencies (): List <Class <out Initializer <* >? >? > {
13+ return emptyList()
14+ }
15+ }
You can’t perform that action at this time.
0 commit comments