react-native-ultimate-config
react-native-ultimate-config copied to clipboard
Fix objective c import in api.md
hi @maxkomarychev, thank you very much for this library! Not sure if something in my setup is wrong, but in order to use the env variables in Objective-c I had to change the import from your docs (https://github.com/maxkomarychev/react-native-ultimate-config/blob/master/docs/api.md#objective-c) to #import <react_native_ultimate_config/ConfigValues.h>
Hi, I have not experienced this. Could you please share more information about your setup? (version of Xcode, iOS deployment target, whether swift is used or no etc).
Thanks!
Hi, my Xcode version is Version 14.3.1 (14E300c), IPHONEOS_DEPLOYMENT_TARGET = 14.0, we are using a bridging header and we have a module integrated via spm via Frameworks, Libraries, and embedded Content in Xcode under TARGETS -> General. RN version is 0.71.0. Above mentioned import happens in AppDelegate.mm
Hi @thorgas , thanks for your PR, that's really helpful for me!
@maxkomarychev this PR is fix for the issue https://github.com/maxkomarychev/react-native-ultimate-config/issues/144
Thanks @thorgas for your PR!