mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Merge pull request #1486 from NativeScript/cankov/ios-private-paths
Fix paths in iOS, some devices and iOS combinations use /private/var paths while some /var/ this was normalized by resolvin symlinks
This commit is contained in:
@ -232,7 +232,7 @@ export var testFileReadWriteBinary = function () {
|
||||
var fileName = "logo.png";
|
||||
var error;
|
||||
|
||||
var sourceFile = fs.knownFolders.currentApp().getFile(fileName);
|
||||
var sourceFile = fs.File.fromPath(__dirname + "/" + fileName);
|
||||
var destinationFile = fs.knownFolders.documents().getFile(fileName);
|
||||
|
||||
var source = sourceFile.readSync(e=> { error = e; });
|
||||
|
Reference in New Issue
Block a user