[jira] [Resolved] (CB-10252) iOS app update/redeployment makes files unaccessable

2016-01-08 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe resolved CB-10252.
-
Resolution: Fixed

The files can be accessed by their native paths, but no longer if the app was 
updated/redeployed. 
Using the cdvfile protocol cdvfile-path instead of the native path, the files 
can be accessed by the html-src attribute after an update/redeployment.

The link to the tutorial 'HTML5 Rocks' ' should be removed from the file-plugin 
api (
https://github.com/apache/cordova-plugin-file). It is outdated and doesn't 
point to this important problem.

> iOS app update/redeployment makes files unaccessable
> 
>
> Key: CB-10252
> URL: https://issues.apache.org/jira/browse/CB-10252
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 5.4.0
> Environment: iOS
>Reporter: Mac Stuewe
>Priority: Minor
>  Labels: triaged
> Attachments: Bildschirmfoto 2015-12-22 um 14.44.19.png
>
>
> I store files into the library-nosync directory:
> window.resolveLocalFileSystemURL(cordova.file.dataDirectory, 
> requestFileSystemSuccess);
> after the app redeployment by xCode or app store update, these files cannot 
> be accessed, although they exist at this path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10069) Using either file:/// or cdvfile:// as the causes errors

2015-12-23 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15069490#comment-15069490
 ] 

Mac Stuewe commented on CB-10069:
-

Did you just try this: fileEntry.nativeURL?


> Using either file:/// or cdvfile:// as the  causes errors
> -
>
> Key: CB-10069
> URL: https://issues.apache.org/jira/browse/CB-10069
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 5.4.0
> Environment: Windows, Cordova Whitelist, Cordova File, Cordova File 
> Transfer
>Reporter: Katie Egervari
>Priority: Blocker
>  Labels: Windows10
>
> Trying to load an image from the local filesystem using fileEntry.toURL() 
> does not work (I have tried toInternalURL() and toNativeURL() as well). In 
> Chrome, it says:
>  Not allowed to load local resource: 
> file:///persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b
> When trying to use the cdvfile:// address instead results in this error:
>  
> cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b:1
>  GET 
> cdvfile://localhost/persistent/spotlight5/image_8a8a8a4c45698eba01456b127db5015b
>  net::ERR_UNKNOWN_URL_SCHEME
> I have tried countless configurations of whitelist and/or the content 
> security policy. My current configurations (but this is NOT limited to what I 
> have actually tried) are:
> http://*/*"/>
> 
> 
> http://*/*; />
> https://*/*; />
> 
> 
> http://*/*; />
> https://*/*; />
> 
> 
> And
>content="default-src * 'unsafe-inline' 'unsafe-eval'">
> I really need help with this one, as this is blocking me finishing my 
> project. This application has to run standalone, and we have to download 
> images dynamically, put them on the local file system of the device, and then 
> show them in image tags when disconnected from the network.
> Thank you.
> Katie



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-10252) iOS app update/redeployment makes files unaccassable

2015-12-23 Thread Mac Stuewe (JIRA)
Mac Stuewe created CB-10252:
---

 Summary: iOS app update/redeployment makes files unaccassable
 Key: CB-10252
 URL: https://issues.apache.org/jira/browse/CB-10252
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin File
Affects Versions: 5.4.0
 Environment: iOS
Reporter: Mac Stuewe


I store files into the library-nosync directory:

window.resolveLocalFileSystemURL(cordova.file.dataDirectory, 
requestFileSystemSuccess);

after the app redeployment by xCode or app store update, these files cannot be 
accessed, although they exist at this path.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10252) iOS app update/redeployment makes files unaccassable

2015-12-23 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-10252:

Attachment: Bildschirmfoto 2015-12-22 um 14.44.19.png

> iOS app update/redeployment makes files unaccassable
> 
>
> Key: CB-10252
> URL: https://issues.apache.org/jira/browse/CB-10252
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin File
>Affects Versions: 5.4.0
> Environment: iOS
>Reporter: Mac Stuewe
> Attachments: Bildschirmfoto 2015-12-22 um 14.44.19.png
>
>
> I store files into the library-nosync directory:
> window.resolveLocalFileSystemURL(cordova.file.dataDirectory, 
> requestFileSystemSuccess);
> after the app redeployment by xCode or app store update, these files cannot 
> be accessed, although they exist at this path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10252) iOS app update/redeployment makes files unaccessable

2015-12-23 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-10252:

Summary: iOS app update/redeployment makes files unaccessable  (was: iOS 
app update/redeployment makes files unaccassable)

> iOS app update/redeployment makes files unaccessable
> 
>
> Key: CB-10252
> URL: https://issues.apache.org/jira/browse/CB-10252
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin File
>Affects Versions: 5.4.0
> Environment: iOS
>Reporter: Mac Stuewe
> Attachments: Bildschirmfoto 2015-12-22 um 14.44.19.png
>
>
> I store files into the library-nosync directory:
> window.resolveLocalFileSystemURL(cordova.file.dataDirectory, 
> requestFileSystemSuccess);
> after the app redeployment by xCode or app store update, these files cannot 
> be accessed, although they exist at this path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10252) iOS app update/redeployment makes files unaccassable

2015-12-23 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15069504#comment-15069504
 ] 

Mac Stuewe commented on CB-10252:
-

I downloaded the app-container, the files were there and could be opened.
My file-browser found these files too, before I tried to access them, see 
screenshot.
Why can't these files not be accessed after a redeployment or app-update?

> iOS app update/redeployment makes files unaccassable
> 
>
> Key: CB-10252
> URL: https://issues.apache.org/jira/browse/CB-10252
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin File
>Affects Versions: 5.4.0
> Environment: iOS
>Reporter: Mac Stuewe
> Attachments: Bildschirmfoto 2015-12-22 um 14.44.19.png
>
>
> I store files into the library-nosync directory:
> window.resolveLocalFileSystemURL(cordova.file.dataDirectory, 
> requestFileSystemSuccess);
> after the app redeployment by xCode or app store update, these files cannot 
> be accessed, although they exist at this path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-06-04 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Attachment: Bildschirmfoto 2014-06-04 um 08.54.48.png

That's the folder where the copy of the image is pasted. The file-name in this 
folder doesn't match the fileEntry.toURL() file-name.

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Affects Versions: 3.4.0, 3.5.0
 Environment: iPhone 5s, iOS-Simulators
Reporter: Mac Stuewe
Priority: Blocker
  Labels: File
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png, Bildschirmfoto 2014-06-04 um 
 08.54.48.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-6735) File plugin returns the wrong path

2014-06-03 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14016274#comment-14016274
 ] 

Mac Stuewe edited comment on CB-6735 at 6/3/14 6:45 AM:


For example, this is a url that doesn't work:

file:///var/mobile/Applications/[app-id]/Documents/myFolder/filename.JPG

Yesterday I was able to test this on a iOS-device.

I use cordova 3.5 and file 1.1.1


was (Author: marcel79):
For example, this is a url that doesn't work:

file:///var/mobile/Applications/[app-id]/Documents/myFolder/filename.JPG



 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Affects Versions: 3.4.0, 3.5.0
 Environment: iPhone 5s, iOS-Simulators
Reporter: Mac Stuewe
Priority: Blocker
  Labels: File
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-6735) File plugin returns the wrong path

2014-06-03 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14016274#comment-14016274
 ] 

Mac Stuewe edited comment on CB-6735 at 6/3/14 7:16 AM:


For example, this is a url that doesn't work:

file:///var/mobile/Applications/[app-id]/Documents/myFolder/filename.JPG

Yesterday I was able to test this on a iOS-device.

I use cordova 3.5 and file 1.1.1

The only filepath that works is this:

cdfile://localhost/persistent/myFolder/filename.JPG


was (Author: marcel79):
For example, this is a url that doesn't work:

file:///var/mobile/Applications/[app-id]/Documents/myFolder/filename.JPG

Yesterday I was able to test this on a iOS-device.

I use cordova 3.5 and file 1.1.1

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Affects Versions: 3.4.0, 3.5.0
 Environment: iPhone 5s, iOS-Simulators
Reporter: Mac Stuewe
Priority: Blocker
  Labels: File
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-28 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Affects Version/s: 3.5.0

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0, 3.5.0
Reporter: Mac Stuewe
Priority: Blocker
  Labels: File
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-28 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Priority: Blocker  (was: Major)

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0, 3.5.0
Reporter: Mac Stuewe
Priority: Blocker
  Labels: File
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-28 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Environment: iPhone 5s, iOS-Simulators, Nexus 5/7

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0, 3.5.0
 Environment: iPhone 5s, iOS-Simulators, Nexus 5/7
Reporter: Mac Stuewe
Priority: Blocker
  Labels: File
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-28 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Environment: iPhone 5s, iOS-Simulators  (was: iPhone 5s, iOS-Simulators, 
Nexus 5/7)

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0, 3.5.0
 Environment: iPhone 5s, iOS-Simulators
Reporter: Mac Stuewe
Priority: Blocker
  Labels: File
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-26 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Labels: File  (was: )

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
  Labels: File
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6735) File plugin returns the wrong path

2014-05-26 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14008655#comment-14008655
 ] 

Mac Stuewe commented on CB-6735:


here's a link to a slice of code:

http://stackoverflow.com/questions/23801369/phonegap-ios-file-path

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
  Labels: File
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6735) File plugin returns the wrong path

2014-05-23 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14007066#comment-14007066
 ] 

Mac Stuewe commented on CB-6735:


file:/// paths do work on android, but not on iOS.

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-6735) File plugin returns the wrong path

2014-05-23 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14007066#comment-14007066
 ] 

Mac Stuewe edited comment on CB-6735 at 5/23/14 11:46 AM:
--

file:/// paths do work on android, but not on iOS.
First I deployed this app on a android device. There html5-audio tags don't 
work with this paths.
On iOS they don'T work at all



was (Author: marcel79):
file:/// paths do work on android, but not on iOS.

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6734) File file.toNativeURL path doesn't work on ios

2014-05-22 Thread Mac Stuewe (JIRA)
Mac Stuewe created CB-6734:
--

 Summary: File file.toNativeURL path doesn't work on ios
 Key: CB-6734
 URL: https://issues.apache.org/jira/browse/CB-6734
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Mac Stuewe






--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (CB-6734) File file.toNativeURL path doesn't work on ios

2014-05-22 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe closed CB-6734.
--

Resolution: Invalid

 File file.toNativeURL path doesn't work on ios
 --

 Key: CB-6734
 URL: https://issues.apache.org/jira/browse/CB-6734
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Mac Stuewe





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6735) File module returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)
Mac Stuewe created CB-6735:
--

 Summary: File module returns the wrong path
 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe


The file-module returns a unsuitable file-path description in iOS. 
HTML-Tags 'img', 'video' and 'audio' don't work with it.

file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
'file:///user/' and ending with '/folder/file.type'

file-module has been tested in this versions:
- 1.0.1
- 1.1.0
- 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Summary: File plugin returns the wrong path  (was: File module returns the 
wrong path)

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe

 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Attachment: Bildschirmfoto 2014-05-22 um 16.30.47.png
Bildschirmfoto 2014-05-22 um 16.29.32.png

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Attachment: Bildschirmfoto 2014-05-22 um 16.29.32.png

img-tag with a file:/// path

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.29.32.png, Bildschirmfoto 2014-05-22 um 
 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Attachment: (was: Bildschirmfoto 2014-05-22 um 16.29.32.png)

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14005960#comment-14005960
 ] 

Mac Stuewe edited comment on CB-6735 at 5/22/14 2:44 PM:
-

yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)
- dirTarget.toURL()+'/'+targetFileName

the image below the working image has the path from the yellow-background 
img-tag

file.toNativeURL() works with file 1.1.0 in Android for images and videos. Same 
code doesn't work for iOS. audio-files don't work in android either .. but this 
is another issue I guess. There already are lots of questions on stackoverflow 
about that


was (Author: marcel79):
yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)
- dirTarget.toURL()+'/'+targetFileName

the image below the working image has the path from the yellow-background 
img-tag

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14005960#comment-14005960
 ] 

Mac Stuewe edited comment on CB-6735 at 5/22/14 2:41 PM:
-

yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)
- dirTarget.toURL()+'/'+targetFileName

the image below the working image has the path from the yellow-background 
img-tag


was (Author: marcel79):
yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)
- dirTarget.toURL()+'/'+targetFileName

the image below the working image has the path from the yellow-background 
img-tag


 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14005960#comment-14005960
 ] 

Mac Stuewe edited comment on CB-6735 at 5/22/14 2:41 PM:
-

yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)
- dirTarget.toURL()+'/'+targetFileName

the image below the working image has the path from the yellow-background 
img-tag



was (Author: marcel79):
yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)
- dirTarget.toURL()+'/'+targetFileName
the image below the working image has the path from the yellow-background 
img-tag


 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14005960#comment-14005960
 ] 

Mac Stuewe edited comment on CB-6735 at 5/22/14 2:41 PM:
-

yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)
- dirTarget.toURL()+'/'+targetFileName
the image below the working image has the path from the yellow-background 
img-tag



was (Author: marcel79):
yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)
the image below the working image has the path from the yellow-background 
img-tag


 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14005960#comment-14005960
 ] 

Mac Stuewe edited comment on CB-6735 at 5/22/14 2:40 PM:
-

yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)
the image below the working image has the path from the yellow-background 
img-tag



was (Author: marcel79):
yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Attachment: (was: Bildschirmfoto 2014-05-22 um 16.29.32.png)

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.29.32.png, Bildschirmfoto 2014-05-22 um 
 16.30.47.png, Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Attachment: (was: Bildschirmfoto 2014-05-22 um 16.30.47.png)

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Attachment: Bildschirmfoto 2014-05-22 um 16.30.47.png
Bildschirmfoto 2014-05-22 um 16.29.32.png

yellow-background: img-tag with file 1.1.0 file.toNativeURL() (file:///...)
white-background: image-above with file 1.0.1 selfBuildURL 
(cdvfile://localhost..)

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.29.32.png, Bildschirmfoto 2014-05-22 um 
 16.30.47.png, Bildschirmfoto 2014-05-22 um 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Issue Comment Deleted] (CB-6735) File plugin returns the wrong path

2014-05-22 Thread Mac Stuewe (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mac Stuewe updated CB-6735:
---

Comment: was deleted

(was: img-tag with a file:/// path)

 File plugin returns the wrong path
 --

 Key: CB-6735
 URL: https://issues.apache.org/jira/browse/CB-6735
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.4.0
Reporter: Mac Stuewe
 Attachments: Bildschirmfoto 2014-05-22 um 16.29.32.png, 
 Bildschirmfoto 2014-05-22 um 16.29.32.png, Bildschirmfoto 2014-05-22 um 
 16.30.47.png


 The file-module returns a unsuitable file-path description in iOS. 
 HTML-Tags 'img', 'video' and 'audio' don't work with it.
 file.fullPath(), file.toNativeURL(), file.toURL() return a path starting with 
 'file:///user/' and ending with '/folder/file.type'
 file-module has been tested in this versions:
 - 1.0.1
 - 1.1.0
 - 1.1.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)