react-native-starter-kit | React Native Starter Kit | Frontend Framework library
kandi X-RAY | react-native-starter-kit Summary
kandi X-RAY | react-native-starter-kit Summary
React Native Starter Kit
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-native-starter-kit
react-native-starter-kit Key Features
react-native-starter-kit Examples and Code Snippets
Community Discussions
Trending Discussions on react-native-starter-kit
QUESTION
I am starting project as instructed in the readme file (mcnamee/react-native-starter-kit). I integrated my firebase with app when I signup it stucks at spinner... though saves email and password to firebase and it signs in without problem. I want to debug whats going on when I hit the signup button but it doesnt show any action etc nor in the react native debugger app. Why react native debugger cant connect to my app. How can I fix this issue?
...ANSWER
Answered 2018-Jul-20 at 21:24You can only have one debugger attached at a time. If you are using the debugger in a web browser. You cannot use React Native Debugger.
The simplest solution is to make sure that you have React Native Debugger running before you do react-native run-ios
And you should connect automatically to the React Native Debugger. If it doesn’t connect you can always press cmd+d to connect to the debugger.
If you are already connected to the web browser debugger. Press cmd+d to bring up the menu on the simulator, disable remote debugging. Close the web browser. Launch React Native Debugger. Press cmd+d and enable remote debugger, this should connect you to the React Native Debugger.
Regards to the information in the console. Both debugging optionswill give you the same information. If you are wanting to debug what is happening in more detail you’ll need to use the built in Debugger in your IDE and step through the lines of code or put in some well placed console.logs().
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-native-starter-kit
1.1) git clone https://github.com/natuanorg/react-native-starter-kit.git
1.2) cd react-native-starter-kit - cd into your newly created project directory.
1.3) Install NPM packages with your package manager of choice - i.e run yarn or npm install
1.4) [iOS] cd ios and run pod install - if you don't have CocoaPods you can follow these instructions to install it.
1.5) [Android] No additional steps for android here.
2.0) [iOS] cd .. to return to the root directory of the project
2.1) yarn rename - you'll be prompted to enter a project name and company name
2.2) Note down the package name value - you'll need this when setting up your Firebase project
3.1) [iOS] Follow the add firebase to your app instructions here to generate your GoogleService-Info.plist file if you haven't done so already - use the package name generated previously as your iOS bundle ID.
3.2) [iOS] Place this file in the ios/ directory of your project.
3.3) [Android] Follow the manually add firebase to your app instructions here to generate your google-services.json file if you haven't done so already - use the package name generated previously as your Android package name.
3.4) [Android] Place this file in the android/app/ directory of your project.
4.1) Start the react native packager, run yarn start from the root of your project.
4.2) [iOS] Build and run the iOS app, run yarn ios from the root of your project. The first build will take some time. This will automatically start up a simulator also for you on a successful build if one wasn't already started.
4.3) [Android] If you haven't already got an android device attached/emulator running then you'll need to get one running (make sure the emulator is with Google Play / APIs). When ready run yarn android from the root of your project.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page