Skip to content

Commit

Permalink
Merge pull request #2 from KANekT/patch-1
Browse files Browse the repository at this point in the history
Update Chooser.swift
  • Loading branch information
harshzalavadiya authored Jan 19, 2022
2 parents 9354a09 + 98464f4 commit dc16eb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ios/Chooser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class Chooser : CDVPlugin {

do {
let result = [[
"data": data.base64EncodedString(),
"mediaType": self.detectMimeType(newURL),
"name": newURL.lastPathComponent,
"uri": newURL.absoluteString
Expand Down Expand Up @@ -165,4 +164,4 @@ extension Chooser : UIDocumentPickerDelegate {
func documentPickerWasCancelled (_ controller: UIDocumentPickerViewController) {
self.sendError("RESULT_CANCELED")
}
}
}

0 comments on commit dc16eb0

Please sign in to comment.