mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 19:01:38 +03:00
Merge pull request #2372 from existentialstudios/development
Update README with android starting instructions
This commit is contained in:
commit
61aa6d5daa
15
README.md
15
README.md
@ -24,17 +24,16 @@ PlayStore Android: https://android.ecency.com
|
||||
|
||||
`$ react-native start` (Now your local server should start)
|
||||
|
||||
|
||||
## Setting up Reactotron
|
||||
|
||||
`Reactotron` for logging,
|
||||
|
||||
- Install: [download here](https://github.com/infinitered/reactotron/blob/master/docs/installing.md)
|
||||
- Run: After installation, start the reactotron desktop application
|
||||
- Link: For android, run `adb reverse tcp:9090 tcp:9090` and restart app. For iOS, it should connect without futher config.
|
||||
- Usage:
|
||||
1. use `Timeline` tab to track logs and network call
|
||||
2. use `State` tab to track redux stage changes, to track particular store, add it by it's initilzing name, example: `account`
|
||||
|
||||
1. use `Timeline` tab to track logs and network call
|
||||
2. use `State` tab to track redux stage changes, to track particular store, add it by it's initilzing name, example: `account`
|
||||
|
||||
## Starting for IOS
|
||||
|
||||
@ -42,7 +41,11 @@ PlayStore Android: https://android.ecency.com
|
||||
|
||||
## Starting for Android
|
||||
|
||||
TODO
|
||||
1. Create a new app in your firebase console.
|
||||
2. Choose Add Android platform, with a package name of `app.esteem.mobile.android`
|
||||
3. Download the generated `google-services.json` and place it in `<project-root>/android/app/`
|
||||
4. Connect dev device or start android emulator.
|
||||
5. Run `npm run android` in the project's root.
|
||||
|
||||
##### Using Android Studio's `adb`
|
||||
|
||||
@ -55,8 +58,6 @@ TODO
|
||||
2. Add the Genymotion tools directory to your path (instructions for [Mac](http://osxdaily.com/2014/08/14/add-new-path-to-path-command-line/), [Linux](http://www.computerhope.com/issues/ch001647.htm), and [Windows](https://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/)).
|
||||
3. Make sure that you can run adb from your terminal.
|
||||
|
||||
|
||||
|
||||
# The Rules 🔪
|
||||
|
||||
### Patches and Review Process
|
||||
|
Loading…
Reference in New Issue
Block a user