We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67bb7f4 commit 7dbe5f9Copy full SHA for 7dbe5f9
plugins/dialog/ios/Sources/DialogPlugin.swift
@@ -150,6 +150,7 @@ class DialogPlugin: Plugin {
150
onFilePickerResult = { (event: FilePickerEvent) -> Void in
151
switch event {
152
case .selected(let urls):
153
+ urls.first?.startAccessingSecurityScopedResource()
154
invoke.resolve(["file": urls.first!])
155
case .cancelled:
156
invoke.resolve(["file": nil])
0 commit comments