diff --git a/README.md b/README.md index d498d5b0..1812dae7 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 +``` + + + diff --git a/android/app/build.gradle b/android/app/build.gradle index 19775faa..47d2cecd 100755 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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' }