Comments (8)
The problem has been solved in 2.0.1+1, Which version do you use
from open_file.
Still having the issue
from open_file.
@paqio Thank you for your feedback. I have tried the issue of regression test, but it did not appear again. So what is your usage scenario and what is the problem
from open_file.
i was using camera_utils, which had same FileProvider, for some reason if i set the authority/resources to the one in readme, camra utils would look for its provider hardcoded in the code not fileProvider but flutter.fileprovder and crash. i did use the replace. I ended up using other plugin image_picker which had custom file provider
from open_file.
import android.support.v4.content.FileProvider;
camera_utils is support, open_file is androidx.
You can use the support version of open_file, which hasn't been updated for a long time, or tell the developer of camera_utils to migrate to androidx
from open_file.
yeah i did that, both(manually converted), so no issuess on build. yet when the camera_utils was looking for getApplicationName() + 'flutter.provider' . it was not in the map, only 'fileProvider' was in the map.
from open_file.
Future getImage() async {
var image = await ImagePicker.pickImage(source: ImageSource.camera);
openFile(image.path);
}
I tried it with image_picker: ^0.6.0+10, and it worked
This is image_picker
activity.getPackageName() + ".flutter.image_provider";
So I think it's a question of camera_utils, You can try getApplicationName() instead of getPackageName()
from open_file.
image picker works out of the box, not the camera_utils. But i think its more popular replacement so its good enough solution
from open_file.
Related Issues (20)
- Namespace not specified.
- The file cannot be opened and there is no error message HOT 5
- open_file 3.3.2: OpenFilePlugin.java uses or overrides a deprecated API. HOT 2
- not working in android 33 HOT 5
- Security: fileprovider allow access to all app files
- Localization issue with iOS modal in open_file package HOT 2
- Android 33 version not open file error HOT 1
- open_file requires MANAGE_EXTERNAL_STORAGE which is considered Dangerous HOT 5
- Add mobi and epub support. HOT 1
- A compile warning
- [Request] Add support for .ipa files like .apk files
- Keyboard become invisible when you open file with active keyboard (IOS) HOT 1
- Why OpenFile requires Multidex support?
- Cannot open file in app bundle? HOT 1
- webData isn't defined
- AGP 8 namespace issue HOT 1
- Cannot build apk
- how to load assets file
- How to open .avi on iOS?
- Windows mp4 video
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 open_file.