42cab08553
After upgrading `react-native` to `0.72.5` we frequently started seeing the _red screen of death_ on both `Android` and `iOS` simulators right after the app was built and installed. This used to happen because our workflow required us to do the following : - `make run-clojure` - `make run-metro` - `make run-ios` OR `make run-android` The problem with this approach was after `metro` was started the `iOS`, `Android` build step would change the files that `metro` couldn't handle and hence metro would go out of sync. The quick fix back then was to restart `metro` terminal and to open the app again from the simulator. This was however not a good DX. This commit fixes that. We no longer rely on `react-native` cli to generate and deploy debug builds on simulators. We take control of the process via our own script. The new workflow introduced in this commit will first build the app, then install the app on the simulators and then start metro terminal. When `metro` is successfully running the script will then open the app. The new workflow now is : - `make run-clojure` - `make run-ios` OR `make run-android` |
||
---|---|---|
.. | ||
StatusIm | ||
StatusIm.xcodeproj | ||
StatusIm.xcworkspace | ||
StatusImPR | ||
StatusImTests | ||
fonts | ||
logs | ||
nanopb.framework | ||
scripts | ||
.xcode.env | ||
Bridge.swift | ||
Dummy.swift | ||
Podfile | ||
Podfile.lock | ||
StatusIm-Bridging-Header.h | ||
StatusImTests-Bridging-Header.h | ||
launch-image-universal.storyboard |