Setup
Create a config.js in the root folder with your Google Cloud Configuration:
const config = {
CLIENT_ID:'YOUR_CLIENT_ID',
API_KEY: 'YOUR_API_KEY'
};
Run
npm start
Create Build
- Create config-prod.js
- Run
npm run build
orgrunt
Remote Debugging
- Connect phone to USB
- Enable Remote debugging on the phone
To connect to localhost,
- Find out local IP (e.g. 172.18.128.1:8000)
- Connect to a DNS rebinding service like nip.io
http://172.18.128.1.nip.io:8000/
(Note http)
- Allow access from this domain on firebase
- Setup Chrome Debugging on Desktop
chrome://inspect/#devices