Skip to content

Download file with cookie persisted from RN#1100

Merged
nyagami merged 2 commits intolnreader:masterfrom
nyagami:downloadfile
Jun 8, 2024
Merged

Download file with cookie persisted from RN#1100
nyagami merged 2 commits intolnreader:masterfrom
nyagami:downloadfile

Conversation

@nyagami
Copy link
Member

@nyagami nyagami commented Jun 8, 2024

Download cover

  • before: call fetch from React -> native Android make okhttp3 request -> return response package to React -> React decode base64 -> React send base64 to native Android -> write base64 to file :)))
  • now: call downloadFile -> write bytestream to file

Write file/ Read file

  • now support only text file

@nyagami nyagami merged commit b62c8e3 into lnreader:master Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant