I try to install MapboxGL React Native component the easy way with Cocoapod. I have never done that before and the readme.md is not very detailed.
I did:
$ react-native init AwesomeProject
$ cd AwesomeProject
$ npm install react-native-mapbox-gl --save
then I created a Podspec
file at the root of the RN project with pod 'RCTMapboxGL', :path => 'node_modules/react-native-mapbox-gl/ios'
and run pod install
But I have en error [!] No 'Podfile' found in the project directory
so where do I need to put the Podfile and what do I need to put inside?