Skip to content

Migrate deprecated CameraX/lifecycle APIs (setTargetResolution, LocalLifecycleOwner) #107

Description

@ahmetabdullahgultekin

Why: Two Android tech-debt migrations are flagged inline: AndroidCameraService uses the deprecated CameraX setTargetResolution(Size) (should move to the ResolutionSelector API), and AndroidCameraPreview reads the deprecated LocalLifecycleOwner (should switch to androidx.lifecycle.compose.LocalLifecycleOwner).

Done when: both call sites use the current non-deprecated APIs and the deprecation warnings are gone.

source: shared/src/androidMain/kotlin/com/fivucsas/shared/platform/AndroidCameraService.kt:98


Migrated from shared/src/androidMain/kotlin/com/fivucsas/shared/platform/AndroidCameraService.kt:98.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions