first delete the existing package-lock.json file
To install node modules, run the following command from the root of React Native project:
npm i
run the following command from the root of your React Native project:
npm run pods
run metro
npm start
Note: for android run gradle synch before building build application by Android studio for the first time
Note: the application was tested on the IPhone 15 simulator. On simulator 11, there is a problem with displaying videos in FlatList. There is no such problem on a real device. Therefore, I recommend using simulator 15
build application by XCode or use command
npm run ios15