status-react/.gitignore
Siddarth Kumar 42cab08553
chore: Improve DX for building the app locally (#18784)
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`
2024-02-14 19:58:45 +05:30

200 lines
2.3 KiB
Plaintext

# OSX
#
.DS_Store
.projectile
.cljs_rhino_repl/
.#*
# Xcode
#
/ios/.xcode.env.local
/component-spec
result/
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
# Android/IJ
#
.idea
.gradle
*.iml
**/android/.project
**/android/.settings/org.eclipse.buildship.core.prefs
local.properties
*.hprof
.cxx/
*.keystore
!debug.keystore
# Atom
.tags*
# VS Code
.vscode/
workspace.code-workspace
# node.js
#
node_modules/
node_modules.tmp/
npm-debug.log
yarn-error.log
default.realm/
# BUCK
buck-out/
\.buckd/
android/app/libs
android/app/obj
android/keystores/debug.keystore
!debug.keystore
# Generated by clj-rn
#
index.android.js
index.ios.js
target/
env/dev/env/config.cljs
externs/
shim.js
# Generated by lein voom
#
/pom.xml
# Figwheel
#
figwheel_server.log
.nrepl-port
# Lein
#
.lein-failures
.lein-repl-history
# Shadow
.shadow-cljs
## Doo
#
out
doo-index.html
# Bundler
.bundle
# Status
Statusgo.framework
Statusgo.xcframework
#ios
/ios/Pods/
/ios/logs/
/ios/StatusIm.xcworkspace
.ruby-version
status-e2e/
#python
*.pyc
*.cache
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/README.md
# Clj
.cpcache/
# emacs
.dir-locals.el
# We don't use NPM
/package-lock.json
/.re-natal
/re-natal
# Jenkins
pkg
/BUILD_NUMBER
# Conan
conan*.txt
conanbuildinfo.*
conan.cmake
# Env
.env.bkp
# nix
/.ran-setup
/.nix-gcroots/
/result
# modules
status-modules/translations
status-modules/cljs
status-modules/resources
## coverage
/.nyc_output
/coverage-report
## fiddle
/fiddle/node_modules/
/fiddle/target/
/fiddle/resources/public/images/
trace.edn
/app/
project.clj
##appium
test/appium/report/
result.xml
test/appium/tests/users.py
##node bindings
/bin/
/lib/
## visual tests
/artifacts
/.calva/
## component-tests
*.log
## local xcode env introduced in react-native 0.69
.xcode.env.local
## git hooks
lefthook.yml
## metro server logs
metro-server-logs.log