feat(android):add content uri support for File - #9807
Conversation
|
@triniwiz i feel like the Android File implementation is a bit dirty being done the way it is . Why not in file-system-access.android.ts ? It would be much cleaner and prevent the need for the Also is your code working with a file picked through Also it is a bit sad that your rewrite a way to read text in FileHelper and not use the same way in https://github.com/NativeScript/NativeScript/blob/master/packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/Async.java |
|
@farfromrefug this is a temp what I'm really working on is much larger that this , also I just noticed that read from the async method an it's a bit cleaner now |
|
I don't see why it won't work with files picked with those , I believe the content resolver should be fine with those. |
Allows the
Fileclass to handlecontent://uris on android