Comments (14)
Version 1.3.0
was deployed on dart pub and fixes this, alongside with other requested features and bug fixes. See changelog.
Make sure you clean and change your pubspec to the latest version: file_picker: ^1.3.0
Thank you all for your feedback.
from flutter_file_picker.
@kgamecarter
You can easily fork the repo and remove the image picker from it.
from flutter_file_picker.
That’s right, I forgot the grantUriPermissions
is set to true
on the image_picker.
from flutter_file_picker.
Just this
Google play asks me privacy policy
from flutter_file_picker.
I found camera permission is added by image_picker.
I think remove image_picker for FileType.IMAGE and FileType.CAMERA better.
Separate it for difference requirement.
from flutter_file_picker.
If you don’t need it you don’t have to provide those permissions as well. The image_picker is just re-used here in order to prevent two packages but I get your idea. I’ll take in consideration.
from flutter_file_picker.
No. I don't give CAMERA permisiion in AndroidManifest.xml
But still appear CAMERA permission in app.
Untill I remove image_picker in my file_picker fork.
from flutter_file_picker.
https://github.com/flutter/plugins/blob/master/packages/image_picker/android/src/main/AndroidManifest.xml
image_picker will auto add permission.
from flutter_file_picker.
I'll reopen so others may see this. I would like to have more feedback since I get the point, that it would be fine to have it separated in both plugins, but I can also understand that this is more reliable for some users since they have to only import one plugin and it will handle picking all file types.
Edit: @kgamecarter I don't get it. I've tried it right now in a clean installation (used the example app) and it only requires camera permission if you actually try to load a path from a camera, which is indeed expected, since you can't use the camera without the user giving permissions. Other than that, it won't trigger the camera permission. So, if you don't use picking from camera, you should be fine.
from flutter_file_picker.
Hum, I see. The privacy policies. This may be useful in the meantime.
from flutter_file_picker.
OK. it is a nice sample
https://docs.google.com/document/d/14xHZa1PqxpgntwhStx0dnaiPOV1uDAY0RzQyF5GkPpw/edit
But if some one just need pick document or saved file. remove useless permission better.
from flutter_file_picker.
Yes, I am maintaining my fork now.
from flutter_file_picker.
hi , I have this problem too, I want to remove the camera permission, plz help.
from flutter_file_picker.
This is a tricky one because the plugin supports picking files from camera so it will always have to have that permission.
One option will be removing this feature entirely and let users use this alongside with image_picker
if needed.
from flutter_file_picker.
Related Issues (20)
- Issue: Unable to Read File Content (CSV) HOT 1
- [iOS] File picker crashes when accidentally picking a file across async gap HOT 6
- Retorna um valor após várias tentativas de seleção HOT 3
- We are using Android activity launch mode as singleInstance. Few of the devices file selection not returning values.Its giving null. We can't change the launch mode as well becuase other features may break.Please check this critical bug.Lots of users are reporting this HOT 7
- I think that not work in web HOT 5
- BUG: Picking a folder in iOS causes the original folder to be deleted. HOT 7
- Pick a video but it’s treating them like image HOT 6
- in isolate read a large(17mb) txt file with Error: FileSystemException: File closed HOT 3
- [Linux] FilePicker.platform.pickFiles() always return null HOT 5
- [Windows] The picker is pausing the ripple effect on buttons HOT 2
- Don't automatically close the file window after selecting a file. HOT 2
- iOS privacy manifest required HOT 6
- Is it possible to add support for preventing too many files to be picked? HOT 4
- path null HOT 16
- Permission Error in Android Version 13. HOT 14
- Unable to pick some files(specifically pdf) in android 13 HOT 3
- dyld: Library not loaded: @rpath/DKImagePickerController.framework/DKImagePickerController HOT 3
- Persistent file access option HOT 4
- File_picker doesn't behave as expected on Android 14 HOT 4
- Apple's update to their API policy - Required Reason HOT 2
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 flutter_file_picker.