[TIMOB-3385] iOS: Write to File in Append Mode
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-24T13:39:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-20 |
Components | iOS |
Labels | defect, ios, reported-1.6.1, rplist |
Reporter | Jon Alter |
Assignee | Jacob Relkin |
Created | 2011-04-15T03:43:38.000+0000 |
Updated | 2011-05-24T13:39:31.000+0000 |
Description
You cannot use MODE_APPEND to set the write mode to append when
writing to a file.
API docs say that Titanium.Filesystem.MODE_APPEND should be
used.
No way to write in append mode on iOS
Tested With
iOS 4.3, TiSDK 1.6.1
This is how it works for Android
This functionality will be merged with the Stream implementation in the near future. Regardless, I have resolved this issue and it is pushed to master. (commit 44467a48a979c1285310a18b4729458503b8fdbe)
Please attach test media when checked in
As per Reggies last comment this issue is not fixed at this point.
Tested with 1.7.0.86dae2c... optionalArgAPIs true 10 Success readWriteText true 31 Success blobNativeFile true 49 Success dotSlash true 59 Success fileStreamBasicTest true 108 Success fileStreamWriteTest true 132 Success fileStreamAppendTest true 171 Success fileStreamPumpTest true 200 Success fileStreamWriteStreamTest true 220 Success fileStreamResourceFileTest true 220 Success fileStreamTruncateTest true 262 Success