react-native-sodium
react-native-sodium copied to clipboard
sodium/version.h not found
Hello,
I am trying to integrate react-native-sodium into our company's application. However, I am running into an issue in the file "sodium.h".
After I run npm install and follow pod install steps, I end up with: "sodium/version.h not found", however, I can see that the file exists under the sodium/ folder. Any thoughts on why this might occur?
Additional details: react-native-sodium: 0.3.9 minimum iOS: 11.0 CocoaPods: 1.10.0 Xcode: 12.2
Any help would be greatly appreciated, and let me know if any other info is required.
I have found a work around, by manually replacing #include "sodium/version.h"
with #include "version.h"
in sodium.h.
Is there a configuration I might be missing? Or do we need to update the import paths on this file?
I've figured out that there is a configuration specifically for this in Podspec:
https://guides.cocoapods.org/syntax/podspec.html#header_mappings_dir
I've opened a new PR for this. @lyubo mind taking a look?