Nativescript: Missing Feature appendFile on file-system

Created on 27 Jun 2017  路  3Comments  路  Source: NativeScript/NativeScript

Hello I am new to the Nativescript community and i have to say many thanks for this great Product. I miss the feature in the file system appendFile. I think it would be very helpful and a lot faster than file to read and write.
Something like android FileWriter boolean append
maybe ios ?
filehandle
sorry ios i cant handle the docs ..
Can this be done ?
Many Thanks

question

Most helpful comment

@DrMabuse23 If you need to read/write text only, you can try something similar to this.

All 3 comments

Hello @DrMabuse23 and thank you for your interest in NativeScript.

We have file-system module which allows you to create and read from files and folders, work with paths and work with content data. There are very good example demonstrated here (NativeScript core) and here (nativeScript Angular).

Indeed there is no append boolean flag, however, you can append any data to your file using the respective exposed methods.

Of course, if you think that this is a good candidate for a feature, we will be more than happy to accept contributors (as NativeScript is an open-source product everyone can become a contributor).

@DrMabuse23 If you need to read/write text only, you can try something similar to this.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Leo-lay picture Leo-lay  路  3Comments

NickIliev picture NickIliev  路  3Comments

OscarLopezArnaiz picture OscarLopezArnaiz  路  3Comments

yclau picture yclau  路  3Comments

fmmsilva picture fmmsilva  路  3Comments