diff --git a/src/core/fileuploader/providers/helper.ts b/src/core/fileuploader/providers/helper.ts index df0d8fb21..75c4cd9fb 100644 --- a/src/core/fileuploader/providers/helper.ts +++ b/src/core/fileuploader/providers/helper.ts @@ -467,7 +467,7 @@ export class CoreFileUploaderHelperProvider { } // Make sure the path has the protocol. In iOS it doesn't. - if (path.indexOf('file://') == -1) { + if (this.appProvider.isMobile() && path.indexOf('file://') == -1) { path = 'file://' + path; }