Fixing “”Use of undeclared identifier ‘ReactNativeConfig” error
It seemed easy, but it wasn’t obvious how to fix this error. It was about a renamed config file though.

If you ever encountered this error, or “ReactNativeConfig/ReactNativeConfig.h’ file not found error after trying to import it in your AppDelegate.m file, all you need to do it a renaming operation.
- Use `#import “RNCConfig.h”` instead of the old import statement (#import ReactNativeConfig/ReactNativeConfig.h)
- When you attempt to read the env variable, use `RNCConfig envFor` instead of `ReactNativeConfig envFor`.
Example: `NSString *mapsApiKey = [RNCConfig envFor:@”GOOGLE_MAPS_API_KEY”];`
That’s all.