Skip to content

Commit

Permalink
Add HybridApp troubleshooting section in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
staszekscp committed Nov 21, 2024
1 parent 947e970 commit a17f39c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,26 @@ If you'd like to add HybridApp-specific patches, use the `--patch-dir` flag:

`npx patch-package <PACKAGE_NAME> --patch-dir Mobile-Expensify/patches`

### HybridApp troubleshooting

#### Cleaning the repo
- `npm run clean` - deep clean of all HybridApp artifacts (including NewDot's `node_modules`)
- `npm run clean -- --ios` - clean only iOS HybridApp artifacts (`Pods`, `build` folder, `DerivedData`)
- `npm run clean -- --android` - clean only Android HybridApp artifacts (`.cxx`, `build`, and `.gradle` folders, execute `./gradlew clean`)
If you'd like to do it manually, remember to `cd Mobile-Expensify` first!

#### Common errors
1. **Please check your internet connection** - set `_isOnDev` in `api.js` to always return `false`
2. **CDN: trunk URL couldn't be downloaded** - `cd Mobile-Expensify && pod repo remove trunk`
3. **Task :validateSigningRelease FAILED** - open `Mobile-Expensify/Android/build.gradle` and do the following:
```
- signingConfig signingConfigs.release
+ signingConfig signingConfigs.debug
```
4. **Build service could not create build operation: unknown error while handling message: MsgHandlingError(message: "unable to initiate PIF transfer session (operation in progress?)")** - reopen XCode
----
# Philosophy
Expand Down

0 comments on commit a17f39c

Please sign in to comment.