about summary refs log tree commit diff
path: root/docs/build.md
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-06-02 15:29:36 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-06-02 15:29:36 -0500
commit75b729a670a9db03bd8c977b4255cbaa4a6eeb87 (patch)
tree42b3bf2cda0f91e819624cbe4822b9a9ae5b3ed8 /docs/build.md
parenta2721ceb95d472a35628fa7bb9361297a317437a (diff)
parentba4bb46c3fc3d670e565c69bdf71dbb4510b51f0 (diff)
downloadvoidsky-75b729a670a9db03bd8c977b4255cbaa4a6eeb87.tar.zst
Merge branch 'main' of github.com:bluesky-social/social-app into main
Diffstat (limited to 'docs/build.md')
-rw-r--r--docs/build.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/build.md b/docs/build.md
index 715018ed0..a4b03fc7e 100644
--- a/docs/build.md
+++ b/docs/build.md
@@ -115,3 +115,8 @@ upload-sourcemaps \
 --dist <iOS Update ID> \
 --rewrite \
 dist/bundles/main.jsbundle dist/bundles/ios-<hash>.map`
+
+### OTA updates
+To create OTA updates, run `eas update` along with the `--branch` flag to indicate which branch you want to push the update to, and the `--message` flag to indicate a message for yourself and your team that shows up on https://expo.dev. ALl the channels (which make up the options for the `--branch` flag) are given in `eas.json`. [See more here](https://docs.expo.dev/eas-update/getting-started/)
+
+The clients which can receive an OTA update is governed by the `runtimeVersion` property in `app.json`. Right now, it is set so that only apps with the same `appVersion` (same as `version` property in `app.json`) can receive the update and install it. However, we can manually set `"runtimeVersion": "1.34.0"` or anything along those lines as well. This is useful if very little native code changes from update-to-update. If we are manually setting `runtimeVersion`, we should increment the version each time native code is changed. [See more here](https://docs.expo.dev/eas-update/runtime-versions/)