@expo/serve-sim 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/middleware.js +103 -92
- package/dist/native/serve-sim-native.node +0 -0
- package/dist/serve-sim.js +147 -136
- package/package.json +1 -1
- package/src/middleware.ts +148 -49
- package/src/native.ts +7 -2
package/README.md
CHANGED
|
@@ -18,9 +18,10 @@ https://github.com/user-attachments/assets/fbf890f4-c8c7-4684-82be-d677b8a188f8
|
|
|
18
18
|
- Low-latency SimulatorKit capture with a 60 Hz IOSurface seed poll and configurable WebRTC cadence.
|
|
19
19
|
- Swipe from the bottom to go home.
|
|
20
20
|
- gestures like pinch to zoom by holding the option key.
|
|
21
|
-
- Simulator logs
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
- Simulator logs live in the Logs drawer in the preview, and `serve-sim` also
|
|
22
|
+
serves them at `/.sim/logs` for tools that send the session bearer token.
|
|
23
|
+
Forwarding this high-volume stream to the browser console is opt in: append
|
|
24
|
+
`?logs=1` to the preview URL.
|
|
24
25
|
- Recent simulator actions are available in the browser tools panel and `serve-sim event-log`.
|
|
25
26
|
- Drag and drop videos and images to add them to the simulator device.
|
|
26
27
|
- Keyboard commands and hot keys are forwarded to the simulator, including CMD+SHIFT+H to go home.
|