React Native login form authentication using Firebase auth to access user credentials
- make sure npm and node installed, to check type
npm -v
andnode -v
- install
react-native-cli
globally usingnpm i -g react-native-cli
- go to project directory and type
npm install
to install all application dependencies - run packager using
npm start
- run application in xcode simulator using
react-native run-ios
Debug Attach to Packager
in Visual Studio Code
- inside project directory open (create if not exists)
.vscode/settings.json
and make sure the port number the same with the port of our packager that already running
{
"react-native": {
"packager": {
"port": 8081
}
}
}
- Press
▶️ to run debug session.
- Firebase Auth install using
npm install --save firebase