Skip to content

Commit

Permalink
Bump forgotten android-version, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
rottabonus committed Sep 28, 2024
1 parent a278ecb commit 41e0515
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
27 changes: 11 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,7 @@ npx react-native run-android

### Debugging

We are using [Flipper](https://fbflipper.com/) for debugging, so install the [Desktop application](https://fbflipper.com/docs/getting-started/) to your environment

1. Run the application
2. Open [Flipper](https://fbflipper.com/docs/getting-started/#setup-your-react-native-app)
3. Install plugin [redux-debugger](https://github.com/jk-gan/flipper-plugin-redux-debugger)
4. Now you should see all logs, networking and redux things in the Flipper tool

For troubleshooting, please refer to the [Flipper documentation](https://fbflipper.com/docs/getting-started/troubleshooting/)

#### Fixing issue when running API locally
Setup adb reverse connections:
```sh
adb reverse tcp:8081 tcp:8081; adb reverse tcp:8080 tcp:8080
```


Follow the instructions to use the [hermes debugger](https://reactnative.dev/docs/debugging?js-debugger=hermes)

### Running end-to-end tests

Expand Down Expand Up @@ -163,3 +148,13 @@ Replace the moustached values with your values
- If you get error ==ReferenceError: fetch is not defined== then you are not running the tests with npm 18, which ships with fetch. Refer to the _Node version_ section of this README

- If you get error ==ECONNREFUSED== then you are probably using localhost as a value for the ${YLITSE_API_URL} env-variable. Replace localhost with 127.0.0.1

- If you get error connecting to local API:

Setup adb reverse connections:
```sh
adb reverse tcp:8081 tcp:8081; adb reverse tcp:8080 tcp:8080
```



4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ android {
applicationId "com.ylitse"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 48
versionName "2.14.0"
versionCode 49
versionName "2.15.0"
testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
Expand Down

0 comments on commit 41e0515

Please sign in to comment.