From 766e092bbfe99f7d4b39612e3e2d5b21b93a77d3 Mon Sep 17 00:00:00 2001 From: "Artem Viter (ardmn)" Date: Tue, 24 Nov 2026 22:23:02 +0400 Subject: [PATCH 1/2] docs(readme): link the prebuilt demo APK and iOS simulator build The v0.2.0 release now carries the Expo demo builds, so people can try the library without cloning and building it. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 59dc4dd..6570a98 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,17 @@ What can a document contain? Every Remote Compose building block, live with its /> ``` +## Try the demo + +The Expo demo app shows host values, JSON documents, documents from the network and performance numbers. Prebuilt files are attached to each [release](https://github.com/ardmn/react-native-remote-compose/releases/latest): + +- **Android (any phone or emulator):** download `remote-compose-expo-demo-.apk` and install it; on a computer, `adb install remote-compose-expo-demo-.apk`. +- **iOS Simulator (Mac with Xcode):** download `remote-compose-expo-demo--ios-simulator.tar.gz`, unpack it and drag the `.app` onto a booted simulator, or run + `xcrun simctl install booted ` then `xcrun simctl launch booted dev.ardmn.remotecompose.expo`. + The simulator build does not run on a real iPhone. + +To build it yourself, see [Development](#development). + ## Get started Five steps from an empty React Native app to a document that reacts to your state and your taps. From da0d924e514a0da596cc84c0c46252200465ce50 Mon Sep 17 00:00:00 2001 From: "Artem Viter (ardmn)" Date: Tue, 24 Nov 2026 22:25:54 +0400 Subject: [PATCH 2/2] docs(readme): say which releases carry demo builds and how to attach them Review: only v0.2.0 has the files, the Releasing steps never mentioned them, the iOS command had a placeholder that zsh reads as a redirect, and the APK needs Android 7.0+. --- README.md | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6570a98..4b97c2e 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,22 @@ What can a document contain? Every Remote Compose building block, live with its ## Try the demo -The Expo demo app shows host values, JSON documents, documents from the network and performance numbers. Prebuilt files are attached to each [release](https://github.com/ardmn/react-native-remote-compose/releases/latest): +The Expo demo app shows host values, JSON documents, documents from the network and performance +numbers. Prebuilt builds are attached to the GitHub releases since +[v0.2.0](https://github.com/ardmn/react-native-remote-compose/releases/tag/v0.2.0): + +- **Android 7.0+ (phone or emulator):** download `remote-compose-expo-demo-.apk` and open it + (allow installing unknown apps), or run `adb install remote-compose-expo-demo-.apk`. +- **iOS Simulator (a Mac with Xcode):** download `remote-compose-expo-demo--ios-simulator.tar.gz`, + then with a simulator booted: + + ```sh + tar -xzf remote-compose-expo-demo-*-ios-simulator.tar.gz + xcrun simctl install booted RemoteComposeExpo.app + xcrun simctl launch booted dev.ardmn.remotecompose.expo + ``` -- **Android (any phone or emulator):** download `remote-compose-expo-demo-.apk` and install it; on a computer, `adb install remote-compose-expo-demo-.apk`. -- **iOS Simulator (Mac with Xcode):** download `remote-compose-expo-demo--ios-simulator.tar.gz`, unpack it and drag the `.app` onto a booted simulator, or run - `xcrun simctl install booted ` then `xcrun simctl launch booted dev.ardmn.remotecompose.expo`. - The simulator build does not run on a real iPhone. + This build runs only in the simulator, not on a real iPhone. To build it yourself, see [Development](#development). @@ -427,6 +437,11 @@ no npm token exists, and npm attaches a provenance attestation to the release. T `npm` GitHub environment, which only `v*` tags may deploy to and which waits for a maintainer to approve (Actions → the Release run → Review deployments). +After npm has the version, attach the demo builds to the GitHub release (see [Try the demo](#try-the-demo)): +`cd example-expo && npx eas-cli build --platform all --profile preview`, then upload the APK as +`remote-compose-expo-demo-.apk` and the simulator archive as +`remote-compose-expo-demo--ios-simulator.tar.gz` with `gh release upload v`. + ### Supply chain Exact versions everywhere; `yarn.lock` is installed with `--immutable` in Yarn's hardened mode;