Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NativeScript/NativeScript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: NativeScript/NativeScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: refs/pull/11653/head
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Nov 20, 2026

  1. perf(file-system): read the whole file in Android readTextSync

    readTextSync made one JNI readLine() call per line and concatenated the lines in JS. It now reads the bytes in 64 KiB chunks and decodes them with a single ByteArrayOutputStream.toString(charset) call, and always closes the stream.
    
    The line-by-line output is kept for now: CR and CRLF become LF, leading blank lines and the final line break are dropped.
    edusperoni committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    49cb8a6 View commit details
    Browse the repository at this point in the history
  2. fix(file-system): return Android readTextSync content unchanged

    readTextSync rebuilt the text from readLine() results, so CR and CRLF became LF, leading blank lines and the final line break were dropped. It now returns the decoded file content as is, like readText() on Android and readTextSync()/readText() on iOS. The UTF-8 BOM is still removed.
    edusperoni committed Nov 20, 2026
    Configuration menu
    Copy the full SHA
    2a321da View commit details
    Browse the repository at this point in the history
Loading