Troubleshooting on RN
1. Cannot read property 'configure' of null
If you test on IOS, "Cannot read property 'configure' of null" , This error typically occurs when the pods are not installed correctly on iOS.
Install the dependency:
yarn add @passiolife/nutritionai-react-native-sdk-v3
Install iOS Pods:
Navigate to the iOS folder and run:
cd ios && pod install
Alternatively, you can use:
npx pod-install
To confirm that the Pod installation was successful, your terminal output should look like this:
If you are still facing issues with pod installation or encounter problems while running the app on iOS, let us know.
If you use expo then please follow the below repo documentation:
https://github.com/Passiolife/RN-Expo-Nutrition-Reference-App
Last updated