{"id":121769,"plugin_id":"plugin_asdk_app_6af5f39a383881918c111b771eb6afc3","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-28T00:14:27.438Z","digest":"c939aa5018fbd5487140039c323660bb2317ce89dcce1f23c0681df1475f8a44","against":null,"payload":{"description":"Set up ViroReact in a new or existing Expo or React Native app for iOS, Android, Meta Quest, visionOS or the web, and get a first AR or VR scene running.","included_files":[],"name":"project-setup","skill_md_contents":"---\nname: project-setup\ndescription: Set up ViroReact in a new or existing Expo or React Native app for iOS, Android, Meta Quest, visionOS or the web, and get a first AR or VR scene running.\n---\n\n# Setting up ViroReact\n\nUse this when a developer wants to start with ViroReact, add it to an existing app, or target a new platform.\n\n## Ask first\n\n- New app or existing one? Expo or React Native CLI?\n- Which platforms: iOS, Android, Meta Quest, visionOS, the web?\n- AR, VR, or both?\n\n## Find the current requirements\n\nVersions move, so read them rather than assuming:\n\n1. `reactviro_get_docs` with `README` for the supported platforms, the React Native and Expo versions the current release needs, and the installation steps.\n2. `reactviro_get_platform_matrix` for what each platform supports.\n3. Per platform: `QUEST_SETUP` for Meta Quest, `VISIONOS_SETUP` for visionOS, `INTEGRATION` and `USAGE` for the web renderer.\n4. The full installation guide, with permissions and build configuration, is at https://viro-community.readme.io/docs/installation-instructions.\n\n## New Expo app\n\nThe quickest start is ReactVision's starter kit: https://github.com/ReactVision/expo-starter-kit-typescript. Clone it and follow its README.\n\n## Adding ViroReact to an app\n\n1. Install `@reactvision/react-viro`.\n2. Expo: add `@reactvision/react-viro` to `plugins` in the app config. Its options include `ios.cameraUsagePermission` (the camera prompt's text, needed for AR) and `android.xRMode` (`AR`, `GVR`, `OVR_MOBILE`, `QUEST`). The installation guide lists the rest; do not guess option names.\n3. React Native CLI: follow the installation guide's iOS and Android steps.\n4. ViroReact is a native module, so it does not run in Expo Go. Build a development build (`expo prebuild` then `expo run:ios` or `expo run:android`, or EAS), and run it on a physical device: AR needs a real camera.\n5. Optional packages, only when needed: `@reactvision/react-viro-face-tracking` for front-camera face AR (it adds the iOS TrueDepth API, which App Store review checks), `@reactvision/react-viro-onnx` for on-device object detection, `@reactvision/viro-web-renderer` for the web.\n\n## First scene\n\n1. Call `reactviro_generate_scene` with the closest features, and adapt its TSX to what the developer wants.\n2. Run `reactviro_validate_scene` and `reactviro_check_platform_support` for each target.\n3. Show it with Viro Live (`reactviro_live_preview`) so the developer sees it before building.\n4. Wire it into the app with `ViroARSceneNavigator` (AR) or `ViroVRSceneNavigator` (VR), and list any assets it needs (`reactviro_list_assets_needed`).\n\n## Report honestly\n\nSay which steps you took from the docs and which the developer still has to run. Never claim the app was built or tested on a device unless it was.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}