Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ios): avoid crash when openStream fails (#11308)
* fix(ios): avoid crash when openStream fails wraps in try/catch to properly set exception on JS context if JS code is in async callback/event/timer and has no try/catch it will still crash Also, differs from 'old' procies in that the uncaught exception handler code isn't invoked Fixes TIMOB-27515 * feat(ios): improve api compatibility for encrypted files - add createdAt(), return Date equivalent of 0 timestamp - add modifiedAt(), return Date equivalent of 0 timestamp - make getDirectoryListing() return null - attempt to have spaceAvailable() return a value by asking parent dir's proxy to retrieve it - allow open() with TI_READ - implement copy() (with encrypted file as source) - implement parent property - implement size property * test(file): if deployType==='test' no timestamps of encrypted files * refactor(ios): Ti.Filesystem.openStream calls getFile().open() * build: allow passing along deploy type to test command * ci(jenkins): use deploy type of test for unit test suite * fix(ios): retain filepath for encrypted file blobs * fix(ios): don't check for encrypted html or css files, should be none
- Loading branch information
1 parent
8599d4e
commit d16b69f
Showing
8 changed files
with
963 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.