Comments (5)
Looking into it. Unknown if this https://developer.apple.com/forums/thread/90204 has anything to do with it
from flutternativedraganddrop.
I think the problem is that the UTI given by iCloud for APKs is not a subtype of kUTTypeData, but it is when dropped from local storage and Dropbox. I just tested it and it worked when replacing kUTTypeData with kUTTypeItem. It's worth noting kUTTypeItem will also allow Directories to be dropped.
from flutternativedraganddrop.
I think the problem is that the UTI given by iCloud for APKs is not a subtype of kUTTypeData, but it is when dropped from local storage and Dropbox. I just tested it and it worked when replacing kUTTypeData with kUTTypeItem. It's worth noting kUTTypeItem will also allow Directories to be dropped.
What I can do is add an option to detect the kuttypeitem in the perform drop method but in the can drop method only check for the actual file type so it won't allow directories
from flutternativedraganddrop.
I was able to get iCloud apk file to work when you add apk has a custom extension. When you just have the DropDataType.file with no extension the iCloud apk doesn't register that it can be dropped
from flutternativedraganddrop.
@getBoolean I published v0.0.3 with a fix. Just specify the extension and you should be good to go.
from flutternativedraganddrop.
Related Issues (6)
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 flutternativedraganddrop.