This is for my personal use, things might not be correctly explained here. For the official docs please check https://github.com/airbnb/react-native-maps
Steps from scratch:
1.react-native init GoogleMapPlayground
2. cd GoogleMapPlayground
| // add this snippet at the bottom of the file, cmd+l will present you logging shortcut | |
| { | |
| "key": "cmd+l", | |
| "command": "editor.action.insertSnippet", | |
| "args": { | |
| "snippet": "Reactotron.log('')" | |
| } | |
| } |
This is for my personal use, things might not be correctly explained here. For the official docs please check https://github.com/airbnb/react-native-maps
Steps from scratch:
1.react-native init GoogleMapPlayground
2. cd GoogleMapPlayground
| $ react-native init newproject --version [email protected] |
| // Make sure eslint is install in your project or gloablly | |
| // In your project | |
| npm install --save-dev babel-eslint eslint eslint-plugin-react | |
| // Create .eslintrc | |
| { | |
| "parser": "babel-eslint", | |
| "env": { | |
| "browser": true |
Note: I'm currently taking a break from this course to focus on my studies so I can finally graduate
| To add a simulator | |
| Choose Hardware > Device > Manage Devices. | |
| Xcode opens the Devices window. | |
| At the bottom of the left column, click the Add button (+). | |
| In the dialog that appears, enter a name in the Simulator Name text field and choose the device from the Device Type pop-up menu. | |
| //by default |