Comments (3)
Please refer to the file path from
https://github.com/crazecoder/dilidili/blob/master/lib/db/db_helper.dart
from open_file.
Wrong path, you need to know the real path of android's assets directory in memory or sd card
from open_file.
I get the same error. openFile only works for me with the files within the phone's storage but not in my project's assets. I updated the full path of the file in pubspec.yaml
[flutter: assets: - assets/files/samplefile.pdf
]
and it still won't work. But with Flutterpdfviewer, the assets load properly. Can you show me the correct way of accessing(don't know if this is the right term lol) files in my project's assets so openFile could work? Thank you in advance!
from open_file.
Related Issues (20)
- Permission denied: android.permission.MANAGE_EXTERNAL_STORAGE HOT 12
- Failed to find configured root that contains ... HOT 22
- 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
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.