Git Product home page Git Product logo

Comments (5)

ricnaaru avatar ricnaaru commented on September 15, 2024

please note this

For Android's permission, you have to configure it yourself (using Dexter, etc.). This plugin is made to support my other plugin adv_image_picker, so this permission is handled in adv_image_picker

On Android, you have to request permission manually, you can use dexter or another permission requestor plugin on Java. or you can see my code at adv_image_picker

or you can manually set camera permission on Android setting

have you do either solutions?

from adv_camera.

Driaan avatar Driaan commented on September 15, 2024

The permission is not the issue, i have already handled that myself. The camera view comes up clearly but on the very first time open camera it is frozen and spits out the above error message and i am unable to take a photo from it. If i switch to front camera it works smoothly and if i switch back to the back camera then it works smoothly again.

you can see in the log i have permission:

I/flutter (26516): hasPermission => true

from adv_camera.

ricnaaru avatar ricnaaru commented on September 15, 2024

alright, the thing is I found out that android's preview size not all is useable, so maybe i will create one function to find the best preview resolution and set it right away, instead of setting it manually

from adv_camera.

ricnaaru avatar ricnaaru commented on September 15, 2024

Please try the new version

from adv_camera.

ricnaaru avatar ricnaaru commented on September 15, 2024

please try the latest version (1.2.0) and if the problem still persists, please kindly reopen this thread. Thanks!

from adv_camera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.