[jira] [Comment Edited] (CB-9220) Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1)
[ https://issues.apache.org/jira/browse/CB-9220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615744#comment-14615744 ] Tony Leung edited comment on CB-9220 at 7/6/15 10:01 PM: - I see the same problem and file a bug. https://issues.apache.org/jira/browse/CB-9251 Related to the 4.0.2 security issue fix https://cordova.apache.org/announcements/2015/05/26/android-402.html Loading config.xml preference name=AndroidPersistentFileLocation value=Internal / is disabled. File plugin needs to address the issue. I see file:///storage/emulated/0/ on my Samsung S5 and probably can not duplicate on emulator. was (Author: tl274n): I see the same problem and file a bug. https://issues.apache.org/jira/browse/CB-9251 Related to the 4.0.2 security issue fix https://cordova.apache.org/announcements/2015/05/26/android-402.html Loading config.xml preference name=AndroidPersistentFileLocation value=Internal / is disabled. File plugin needs to address the issue. Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1) -- Key: CB-9220 URL: https://issues.apache.org/jira/browse/CB-9220 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Affects Versions: 4.1.0 Environment: HTC One M7 / Android 5.0.2 Reporter: Matthew Horn Assignee: Joe Bowser Attachments: cordova-5-config2.xml Config.xml preference name=android-installLocationvalue=internalOnly / preference name=AndroidPersistentFileLocation value=Internal / preference name=iosPersistentFileLocation value=Library / window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem){}); Version 3.7.0 FS: fileSystem.root.toURL(): file:///data/data/com.myapp.app.myapp/files/files/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 FS: fileSystem.root.toURL(): file:///storage/emulated/0/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///storage/emulated/0/ window.resolveLocalFileSystemURL('cdvfile://localhost/persistent/', function(oEntry){}) Version 3.7.0 nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 nativeURL: file:///storage/emulated/0/ This is currently breaking links to existing data, any ideas? -- 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] [Comment Edited] (CB-9220) Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1)
[ https://issues.apache.org/jira/browse/CB-9220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14598373#comment-14598373 ] Matthew Horn edited comment on CB-9220 at 6/23/15 9:19 PM: --- Tested on more platforms with same result and attached config.xml I reproduced this on a Samsung Galaxy S3, Genymotion (HTC One 4.4.4), Genymotion (Custom 5.0.0). was (Author: weaponx86): Tested on more platforms with same result and attached config.xml Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1) -- Key: CB-9220 URL: https://issues.apache.org/jira/browse/CB-9220 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Affects Versions: 4.1.0 Environment: HTC One M7 / Android 5.0.2 Reporter: Matthew Horn Assignee: Joe Bowser Attachments: cordova-5-config2.xml Config.xml preference name=android-installLocationvalue=internalOnly / preference name=AndroidPersistentFileLocation value=Internal / preference name=iosPersistentFileLocation value=Library / window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem){}); Version 3.7.0 FS: fileSystem.root.toURL(): file:///data/data/com.myapp.app.myapp/files/files/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 FS: fileSystem.root.toURL(): file:///storage/emulated/0/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///storage/emulated/0/ window.resolveLocalFileSystemURL('cdvfile://localhost/persistent/', function(oEntry){}) Version 3.7.0 nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 nativeURL: file:///storage/emulated/0/ This is currently breaking links to existing data, any ideas? -- 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] [Comment Edited] (CB-9220) Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1)
[ https://issues.apache.org/jira/browse/CB-9220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14598290#comment-14598290 ] Matthew Horn edited comment on CB-9220 at 6/23/15 9:02 PM: --- I reproduced this on a Samsung Galaxy S3, Genymotion (HTC One 4.4.4), Genymotion (Custom 5.0.0). Attached config.xml to original post. was (Author: weaponx86): I reproduced this on a Samsung Galaxy S3, Genymotion (HTC One 4.4.4), Genymotion (Custom 5.0.0). Here is my config.xml: ?xml version=1.0 encoding=UTF-8 ? !-- config.xml reference: https://build.phonegap.com/docs/config-xml -- widget xmlns = http://www.w3.org/ns/widgets; xmlns:gap = http://phonegap.com/ns/1.0; xmlns:android = http://schemas.android.com/apk/res/android; id= com.myapp.app.myapp version = 0.0.0 versionCode = 0 nameMyApp/name description My App /description author href=http://www.myapp.com; email=supp...@myapp.com My App Team /author !-- If you do not want any permissions to be added to your app, add the following tag to your config.xml; you will still have the INTERNET permission on your app, which PhoneGap requires. -- preference name=permissionsvalue=none / !-- Customize your app and platform with the preference element. -- preference name=phonegap-version value=cli-5.1.1 / !-- all: current version of PhoneGap -- preference name=orientationvalue=default / !-- all: default means both landscape and portrait are enabled -- preference name=target-device value=universal / !-- all: possible values handset, tablet, or universal -- preference name=fullscreen value=true / !-- all: hides the status bar at the top of the screen -- preference name=prerendered-icon value=true / !-- ios: if icon is prerendered, iOS will not apply it's gloss to the app's icon on the user's home screen -- preference name=ios-statusbarstyle value=black-opaque / !-- ios: black-translucent will appear black because the PhoneGap webview doesn't go beneath the status bar -- preference name=detect-data-types value=true / !-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -- preference name=exit-on-suspendvalue=false / !-- ios: if set to true, app will terminate when home button is pressed -- preference name=webviewbounce value=false / preference name=stay-in-webviewvalue=false / !-- ios: external links should open in the default browser, 'true' would use the webview the app lives in -- preference name=show-splash-screen-spinner value=true / !-- ios: if set to false, the spinner won't appear on the splash screen during app loading -- preference name=auto-hide-splash-screenvalue=true / !-- ios: if set to false, the splash screen must be hidden using a JavaScript API -- preference name=disable-cursor value=false / !-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -- preference name=android-minSdkVersion value=14 / !-- android: MIN SDK version supported on the target device. MAX version is blank by default. -- preference name=android-targetSdkVersion value=19 / !-- SDK 14 = Android 4.0.x ICS -- preference name=android-installLocationvalue=internalOnly / !-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -- preference name=AndroidPersistentFileLocation value=Internal / preference name=iosPersistentFileLocation value=Library / !-- Plugins -- !-- Core plugins -- !-- NPM plugins -- gap:plugin name=cordova-plugin-battery-status source=npm / gap:plugin name=cordova-plugin-camera source=npm / gap:plugin name=cordova-plugin-console source=npm / gap:plugin name=cordova-plugin-device source=npm / gap:plugin name=cordova-plugin-device-orientation source=npm / gap:plugin name=cordova-plugin-dialogs source=npm / gap:plugin name=cordova-plugin-file source=npm / gap:plugin name=cordova-plugin-geolocation source=npm / gap:plugin name=cordova-plugin-globalization source=npm / gap:plugin name=cordova-plugin-network-information source=npm / gap:plugin name=cordova-plugin-splashscreen source=npm / gap:plugin name=cordova-plugin-statusbar source=npm / gap:plugin name=cordova-plugin-whitelist source=npm / gap:plugin name=cordova-plugin-file-transfer source=npm / gap:plugin