Describe the bug
Hi, I ran into a problem like the title, I logged the RNEncryptionModule and the result was null.
To Reproduce
Import
import RNEncryptionModule from '@dhairyasharma/react-native-encryption';
Use it
await RNEncryptionModule.encryptFile(file.fileCopyUri, outputPath, hexKey);
The file.fileCopyUri, outputPath and hexKey are all strings represent input file path, output file path and the key to encrypt.
Describe the bug Hi, I ran into a problem like the title, I logged the
RNEncryptionModule
and the result wasnull
.To Reproduce Import
import RNEncryptionModule from '@dhairyasharma/react-native-encryption';
Use it
await RNEncryptionModule.encryptFile(file.fileCopyUri, outputPath, hexKey);
Thefile.fileCopyUri
,outputPath
andhexKey
are all strings represent input file path, output file path and the key to encrypt.Expected behavior The file is encrypted.
Screenshots
I'm using React Native 0.70.3.