Closed RyanJoseph15 closed 5 years ago
There's an extra step needed between cloning the repo and running react-native run-android
.
The node_modules need to be resolved by running yarn
.
iOS and Android setups depend on JavaScript environment setup.
This is a bug in the instructions in the readme so thanks for spotting it.
@RyanJoseph15 I made a PR to fix some of the instructions in the readme (https://github.com/uport-project/uport-mobile/pull/78/files).
TL;DR;
cd
to the project folderyarn
android/app/google-services.json
react-native run-android
I'm going through the update README now. Thanks for jumping on this so quickly š
Some additional notes on getting the google-services.json
file from Firebase:
google-services.json
file and add to your local codebase.
google-services.json
is in the .gitignore file. So, nobody will accidentally check in their Firebase files š
react-native run-android
, as outlined in the updated README.
@mirceanis At this point, running the application connects to a running device. However, when using an emulator, it gets stuck on the splash screen. I'm looking into that after attaching logcat
to the device for errors. I'll update as I find thing.
Checking out master seems to be working, following those instructions. I was working off of my feature branch, which was created from the develop branch. This appears to be resolved now!
I was using an x86_64 image before. Switching to an x86 image resolved being stuck on the splash screen issue.
Woo-hoo!
Hi Developers,
I'm able to run app using native-react run-android. But after app starts my server which start using "yarn start" is throwing an error as below,
(0/1)C:\Users\
TypeError: cb.apply is not a function
at C:\Users\
at FSReqCallback.oncomplete (fs.js:177:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Kindly help me to resolve this issue. Thanks in advance
I'm trying to get up and running with an Android instance, following the README. I was able to get an iOS instance running without issues. However,
react-native run-android
was giving errors.Steps to reproduce the behavior:
native-react run-android
Expected behavior I would expect an instance of the application to be installed on the adb connected device.
Actual behavior
Screenshots I made sure that I had a device running:
System:
Smartphone:
Additional context Troubleshooting I've done: