Skip to content

Android 11+ Camera Permissions Issue #253

@Umbrason

Description

@Umbrason

The wallpaper crashes when I use any shader with the frontCamera texture sampler. The live-preview works fine, when I go to apply the background the texture is just black and after applying the wallpaper crashes.
I suspect this is due to a change in android 11+ regarding permissions for the camera (and microphone) sensor(s) when the app runs in the background.
From what I've read you appear to create a foreground service that keeps the permissions alive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions