Skip to content

writeFile doesn't work properly with ciphered data #82

@MaksymKuzmych

Description

@MaksymKuzmych

react-native: 0.73.6
react-native-file-access: 3.0.7
Platform: Android

Bug
I use node-forge to cipher my data. When I try to writeFile, it doesn't write all cipheredBytes. For example, there are 2 cases, when I try to readFile that was written by react-native-file-access (1 photo) and by react-native-fs (2 photo). Of course after that I can't properly decipher it when I want to see my image. Any ideas why it's happening?

Details
Screenshot 2024-04-01 at 15 41 39

photo_2024-04-01_15-57-38

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions