diff --git a/docs/test-and-publish/test/imgs/app-running-controls.avif b/docs/test-and-publish/test/imgs/app-running-controls.avif new file mode 100644 index 0000000..8cd17f9 Binary files /dev/null and b/docs/test-and-publish/test/imgs/app-running-controls.avif differ diff --git a/docs/test-and-publish/test/imgs/dev-tools.avif b/docs/test-and-publish/test/imgs/dev-tools.avif new file mode 100644 index 0000000..845acf4 Binary files /dev/null and b/docs/test-and-publish/test/imgs/dev-tools.avif differ diff --git a/docs/test-and-publish/test/imgs/keep-local-run-open.avif b/docs/test-and-publish/test/imgs/keep-local-run-open.avif new file mode 100644 index 0000000..ce9fa03 Binary files /dev/null and b/docs/test-and-publish/test/imgs/keep-local-run-open.avif differ diff --git a/docs/test-and-publish/test/imgs/view-logs.avif b/docs/test-and-publish/test/imgs/view-logs.avif new file mode 100644 index 0000000..e2cf838 Binary files /dev/null and b/docs/test-and-publish/test/imgs/view-logs.avif differ diff --git a/docs/test-and-publish/test/test-on-mobile-device.md b/docs/test-and-publish/test/test-on-mobile-device.md index c3d8be8..101a2bb 100644 --- a/docs/test-and-publish/test/test-on-mobile-device.md +++ b/docs/test-and-publish/test/test-on-mobile-device.md @@ -117,6 +117,118 @@ For more detailed guidance, refer to the [**iOS Flutter documentation**](https: ::: +### Local Run + +You can also locally run your app on a real device using the Dreamflow Desktop App. Local Run automatically tracks changes in your project, downloads the code locally, and gives you the option to use Flutter's Hot Reload or Hot Restart to see your changes instantly on a device. + +#### Using Local Run + +Follow the steps below to run and test your app locally on a physical device or simulator: + +1. From the bottom bar in the Dreamflow, click **Download Local Run**. +2. A dialog appears prompting you to download the app. Click **Download for macOS** to begin downloading. +3. After the download completes, open the downloaded file. +4. In the installer window, drag **Dreamflow Local Run** into the **Applications** folder. +5. Open the Applications folder and launch **Dreamflow Local Run**. The app runs as a menu bar application. +6. Return to the Dreamflow web app and click **Connect to Local Run**. When prompted, allow Dreamflow to open the Local Run app. +7. When the Local Run app launches, it automatically checks all required prerequisites, downloads the correct Flutter SDK, and fetches your project files, so no manual configuration is required. +8. Once setup is complete, a list of available devices and simulators appears, including the iOS Simulator, Android Emulator, and any connected physical devices. To begin, click the play (**▶**) button next to the simulator to start it. After the simulator is running, select it again and click the play button at the bottom to launch your app. +9. After the app starts on the selected device or simulator, the Local Run panel shows a running status. Any changes you make in Dreamflow are automatically hot reloaded on the connected device. Updates appear instantly without restarting the app, allowing you to iterate quickly and continuously refine your app in real time. + +