Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access camera in Android OS 12 #871

Open
Aastha-dev opened this issue Jan 20, 2022 · 4 comments
Open

Cannot access camera in Android OS 12 #871

Aastha-dev opened this issue Jan 20, 2022 · 4 comments

Comments

@Aastha-dev
Copy link

I am trying to open camera in Android version 12 but not able to access it. Nothing works when I tap on camera icon to capture pic. However everything works fine below OS 12. Is there any solution for this?

@Aksx73
Copy link

Aksx73 commented Mar 9, 2022

Got same issue. Any fix?

@cuibg
Copy link

cuibg commented Mar 28, 2022

the project has not maintenanced!

@121104115wyb
Copy link

you can see this solve
or you can see solve1

@criminact
Copy link

<queries>
        <!-- Camera -->
        <intent>
            <action android:name="android.media.action.IMAGE_CAPTURE" />
        </intent>

        <!-- Gallery -->
        <intent>
            <action android:name="android.intent.action.GET_CONTENT" />
        </intent>
    </queries>

Add this after or before your application tag in AnroidManifest.xml and you're good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants