Comments (4)
from adv_camera.
The reason I've added the storage permission is I have the setSavePath function on controller which allow programmer to put custom path for their images. So the solution I can give for this problem is, at the latest version (> 1.3.1), I've added checkPermissionAtStartup
flag, if you feel you want to override the permission checking process, just pass this flag to false, thus, I will not check the permission at initState. Thanks!
from adv_camera.
Thanks a lot!
from adv_camera.
Hi, I cannot re-open this issue, but I found a problem with the implementation. If checkPermissionAtStartup
is true then hasPermission
can never be true and so the camera cannot be loaded. Even if hasPermission
is public it cannot be accessed since the state is private. I have made a pull request (871a2e0) to address this issue, feel free to merge it to master or edit it if necessary.
I tested the changes and work in the latest Flutter version.
from adv_camera.
Related Issues (20)
- Front camera at startup HOT 1
- how to set custom focus point? HOT 4
- adv_camera V1.3.1+1 CameraPreviewRatio.r16_9 not full screen HOT 3
- App crash on iOS simulator after picking an image from gallery (AdvCamera.swift line 371)
- How to change save directory? HOT 1
- Dispose cam resource widget disposed
- Running for local developement HOT 2
- Execution failed for task ':adv_camera:generateDebugRFile'.
- Flash doesn't work. HOT 2
- Add JPEG quality param
- Cannot build iOS project with adv_camera library
- Calling controller.setFlashType does not activate flash HOT 3
- Windows Mac Linux web support
- Focus marker disappear on iOS after changing camera
- Green camera indicator never disappears
- Is it possible to capture from both front and back cameras at the same time?
- Adv_Camera no longer respects its position in stack on android in Flutter 3.0 HOT 5
- Unexpected platform view context. When constructing a platform view in the factory, use the context from PlatformViewFactory#create
- [camera] Android 12 - camera plugin fails to take a photo
- can not take photo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adv_camera.