This is the abridged developer documentation for expo-arcgis # Getting started > Install expo-arcgis and render your first map. `expo-arcgis` is a native [Expo module](https://docs.expo.dev/modules/overview/) wrapping the ArcGIS Maps SDK for **Kotlin** (Android) and **Swift** (iOS). It is **not** available in Expo Go — use a development build. ## Requirements | | Supported | | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | | Expo | SDK **56**, **57** and **58** (New Architecture) | | iOS | **18.0+**, built with **Xcode 26** or **27** | | Android | **API 28+** (Android 9), compileSdk **37** — Esri deprecated API 28 in ArcGIS 300.1; the next SDK release requires API 29 | | Auth | An [ArcGIS API key](https://developers.arcgis.com/documentation/security-and-authentication/api-key-authentication/) (or token / OAuth) | Every change is built in a fresh app on each supported Expo SDK — Android, iOS, and a typecheck + bundle — so the table is what CI checks, not a guess: | Expo SDK | React Native | | -------- | ---------------------------------------- | | 58 | 0.88 (verified on the beta, 0.88.0-rc.3) | | 57 | 0.86 | | 56 | 0.85 | The iOS and Android minimums come from ArcGIS Maps SDK 300.1; the config plugin raises your app to them. On **Xcode 27**, Expo SDK 56 builds only from **56.0.23** on (`npx expo install --fix`) — earlier `expo-modules-jsi` releases don’t compile with its Swift. ## Install ```sh npx expo install expo-arcgis ``` Add the config plugin to your app config. It wires the Esri Maven repository (Android), raises `minSdk` / `compileSdk` and the iOS deployment target, and (optionally) injects your API key. app.config.js ```js module.exports = { expo: { plugins: [['expo-arcgis', { apiKey: process.env.ARCGIS_API_KEY }]], }, }; ``` Then regenerate the native projects: ```sh npx expo prebuild --clean ``` ## Your first map The API is declarative and mirrors the ArcGIS SDK object model — a `` model inside a `` host, wrapped in ``: ```tsx import { MapSettings, Map, MapView } from 'expo-arcgis'; export function Screen() { return ( console.log('loaded')} /> ); } ``` 3D works the same way with `` + ``. See the **Samples** for each capability. ## Next: the Toolkit The ArcGIS Toolkit’s components (a compass, a scalebar, search, popups, feature forms, offline map areas, sign-in, augmented reality and more) are in `expo-arcgis-toolkit`: ```sh npx expo install expo-arcgis-toolkit ``` Add its config plugin after expo-arcgis’s (`plugins: [['expo-arcgis', { … }], 'expo-arcgis-toolkit']`), prebuild again, and put components in your view: ```tsx import { Map, MapView } from 'expo-arcgis'; import { Compass, Scalebar } from 'expo-arcgis-toolkit'; ``` The [Toolkit guide](/guides/toolkit/) lists every component. A few exist on one platform only: see [Platform differences](/guides/platform-differences/). ## With an AI agent Install the packages’ skills, so that Claude Code, Codex, Cursor and other coding agents write expo-arcgis code, not ArcGIS JavaScript code. [AI agents](/guides/ai-agents/) shows how for each agent. # Concepts > How the declarative, SDK-faithful API is organized. `expo-arcgis` mirrors the ArcGIS Maps SDK object model as React components — one component per SDK class. If you know the ArcGIS SDK, the component names and props will feel familiar; if you know React, the composition will. ## Models and views The map is split into a **model** and a **view host**, exactly like the SDK: * `` / `` — the model (basemap, layers, initial viewpoint / camera). * `` / `` — the host that renders the model. This is the only real native view. ```tsx ``` ## Global settings `` applies global configuration — most importantly the API key — to everything inside it. Place it once near the root (or set the key imperatively with `ExpoArcgis.setApiKey()`). ```tsx {/* maps and scenes */} ``` ## Layers and graphics are children Operational layers belong to the model: declare them as children of `` / ``. Overlays and editors belong to the view, as in the SDK: ``, ``, `` (which holds the 3D analyses), `` and `` go between `` and `` (or `` and ``). Add or remove any of them by rendering them conditionally. ```tsx ``` Composition is wired through React Context — a child finds its parent `` / `` and attaches itself. You don’t pass handles around manually. A `` is itself a layer **and** a layer host: any layers you nest inside it join the group as a single unit instead of attaching to the map directly. ```tsx ``` Layers and graphics carry the full symbology model: simple, picture, text, 3D scene and **composite** symbols; simple, unique-value and class-breaks **renderers** with optional **visual variables** (data-driven size / colour / rotation / opacity) and **dictionary renderers** for military / utility symbology; plus client-side and scale-dependent display filters, and per-layer `minScale` / `maxScale` visibility. 3D point clouds have their own renderer and filter model. A `` takes an `rgb`, `class-breaks`, `stretch` or `unique-value` `renderer` — each reading one attribute, with optional `sizeAlgorithm`, `pointsPerInch` and attribute-driven `colorModulation` — plus `filters` that hide points by value, LiDAR return, or bitfield. ```tsx ``` ## Refs for imperative operations Some operations act on a specific object at runtime — querying a layer, editing features, identifying on a view, tracing a utility network. Reach those through a `ref`: ```tsx const layer = useRef(null); // ... ; // ... const count = await layer.current?.queryFeatureCount({ whereClause: 'POP > 5000000' }); ``` A handle exposes the object’s full runtime surface. On a `` that includes batch editing — make several edits with `apply: false`, then push them at once with `applyEdits()` (or discard with `undoLocalEdits()`) — `queryRelatedFeatures(objectId)`, and attachment CRUD (`queryAttachments` / `addAttachment` / `fetchAttachment` / `deleteAttachment`). A `` / `` handle adds `identifyPopups(screenPoint)`, which returns each tapped feature’s evaluated popup title and fields. A `` handle adds `queryObservations(id)` for an entity’s recent track. A `` handle adds `getAttributes()`, which loads the layer and reports the attributes available to renderers and filters. A `` handle adds `validateNetworkTopology(extent)`, `getState()` and `getTerminalConfigurations()`. ## Namespaces (no view needed) Service operations that don’t belong to a view live on namespaces you can call from anywhere: `geometryEngine`, `coordinateFormatter`, `geocoder` (including `suggest` → `geocodeSuggestion` for a precise suggestion round-trip), `router`, `geoprocessor`, `offline`, and `auth` (API key, token / per-service / OAuth credentials, and sign-out). ```ts const buffered = geometryEngine.geodesicBuffer(point, 500, 'meters'); const [match] = await geocoder.geocode('Los Angeles, CA'); ``` ## Long-running jobs Offline downloads and geoprocessing return a **`JobRef`** — observe its progress, await its result, or cancel it. ```ts const job = await offline.generateOfflineMap(itemId, area, 'offline1'); const subscription = job.addListener('onProgress', ({ progress }) => console.log(`${progress}%`)); const { path } = await job.result(); subscription.remove(); ``` See the [Samples](/samples/display-map/) for a runnable screen behind each capability, and the [API Reference](/api/readme/) for every component and type. # Toolkit > The ArcGIS Maps SDK Toolkits' components for expo-arcgis — compass, search, popups, forms, offline areas, sign-in, augmented reality and more. `expo-arcgis-toolkit` brings the components of the ArcGIS Maps SDK Toolkits ([Swift](https://github.com/Esri/arcgis-maps-sdk-swift-toolkit), [Kotlin](https://github.com/Esri/arcgis-maps-sdk-kotlin-toolkit)) to expo-arcgis. Each component is the Toolkit’s own native view, driven by your `` / `` and `` / ``. The look and the behavior are Esri’s, and the props are the Toolkit’s settings, with its names and defaults. ## Install ```sh npx expo install expo-arcgis expo-arcgis-toolkit ``` It builds on expo-arcgis: set that up first ([Getting started](/guides/getting-started/)). Then add this package’s config plugin after expo-arcgis’s, and regenerate the native projects: app.config.js ```js module.exports = { expo: { plugins: [ ['expo-arcgis', { apiKey: process.env.ARCGIS_API_KEY }], 'expo-arcgis-toolkit', ], }, }; ``` ```sh npx expo prebuild --clean ``` ### Config plugin options By default, the plugin adds: * the iOS camera and microphone descriptions, for the feature form’s attachments and barcodes; * for `OfflineMapAreas`, the iOS background task identifiers and background fetch, and the Android download permissions. On Android 13+, request the notification permission at runtime to see the download progress. | Option | What it does | | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `cameraUsageDescription`, `microphoneUsageDescription` | Your own wording for the descriptions; `false` leaves one out. | | `offlineMapAreas: false` | Leaves out what `OfflineMapAreas` needs. | | `jobManager: true` | Permits the background task of the job manager (`jobManager`, iOS). | | `oAuthRedirectUris: ['my-app://auth']` | Declares the Kotlin Toolkit’s `AuthenticationActivity` for these redirect URIs. `Authenticator`’s OAuth and IAP sign-ins need it on Android. Give them a scheme of their own, not the app’s `scheme`. | | `ar: true` | What the augmented reality views need. On iOS, that is the camera and location descriptions. On Android, it is the camera and location permissions, plus ARCore’s entry. | | `ar: { arcore: 'required' }` | Makes ARCore required, so Google Play shows the app on ARCore devices only. It is optional by default. | | `ar: { arcoreApiKey }` | The Google Cloud API key for the world-scale view’s `geospatial` tracking. | ## Components | Component | Kind | iOS | Android | Sample | | --------------------- | ----------------------------------------------------------- | --- | ------- | -------------------------------------------------------------------------------------------------------------------- | | `Compass` | over a map or scene view | ✓ | ✓ | [Compass and scalebar](/samples/toolkit-compass-scalebar/), [Scene accessories](/samples/toolkit-scene-accessories/) | | `Scalebar` | over a map view | ✓ | ✓ | [Compass and scalebar](/samples/toolkit-compass-scalebar/) | | `OverviewMap` | over a map or scene view | ✓ | — | [Overview map](/samples/toolkit-overview-map/) | | `LocationButton` | over a map view | ✓ | — | [Location button](/samples/toolkit-location-button/) | | `FloorFilter` | over a map or scene view (floor-aware data) | ✓ | ✓ | [Floor filter](/samples/toolkit-floor-filter/) | | `BasemapGallery` | panel for a map | ✓ | ✓ | [Basemap gallery](/samples/toolkit-basemap-gallery/) | | `Bookmarks` | panel for a map or scene view | ✓ | — | [Bookmarks](/samples/toolkit-bookmarks/) | | `Legend` | panel for a map or scene view | — | ✓ | [Legend](/samples/toolkit-legend/) | | `Search` | panel for a map or scene view | ✓ | — | [Search](/samples/toolkit-search/) | | `FloatingPanel` | panel with React content, floating over a map or scene view | ✓ | — | [Floating panel](/samples/toolkit-floating-panel/) | | `BuildingExplorer` | panel for a local scene view | ✓ | — | [Building explorer](/samples/toolkit-building-explorer/) | | `UtilityNetworkTrace` | panel for a map view (utility networks) | ✓ | ✓ | [Utility network trace](/samples/toolkit-utility-network-trace/) | | `PopupView` | panel (a popup from `identifyPopups`) | ✓ | ✓ | [Popup](/samples/toolkit-popup/) | | `FeatureFormView` | panel (a feature from `identify`) | ✓ | ✓ | [Feature form](/samples/toolkit-feature-form/) | | `OfflineMapAreas` | panel for a web map (``) | ✓ | ✓ | [Offline map areas](/samples/toolkit-offline-map-areas/) | | `jobManager` | app-level: keeps long jobs across launches | ✓ | — | [Job manager](/samples/toolkit-job-manager/) | | `Authenticator` | app-level: prompts for authentication challenges | ✓ | ✓ | [Authenticator](/samples/toolkit-authenticator/) | | `TableTopSceneView` | augmented reality: the scene on a table | ✓ | ✓ | [AR tabletop](/samples/toolkit-ar-tabletop/) | | `FlyoverSceneView` | augmented reality: fly over the scene | ✓ | ✓ | [AR flyover](/samples/toolkit-ar-flyover/) | | `WorldScaleSceneView` | augmented reality: the scene in the world around you | ✓ | ✓ | [AR world scale](/samples/toolkit-ar-world-scale/) | A component that the Toolkit has on one platform only renders nothing on the other platform, and warns once in development. An API that one platform lacks does nothing there. The [Platform differences](/guides/platform-differences/) page lists them, with the settings that differ. Every component, prop and type is in the [Toolkit API reference](/api-toolkit/readme/). ## Where components go **Over a view.** `Compass`, `Scalebar`, `OverviewMap`, `LocationButton` and `FloorFilter` go inside the `` or ``. The view draws them over the map at their `alignment`, keeping its `contentInsets` clear. **Panels** are views of their own, which you lay out: * A panel for a map, such as `BasemapGallery`, goes anywhere inside the ``. * A panel for a view, such as `Bookmarks`, `Legend`, `Search`, `BuildingExplorer` or `UtilityNetworkTrace`, goes inside its `` / ``, over the map. It can also go anywhere else, with the view’s ref as its `geoView`. * `PopupView` and `FeatureFormView` show what `identifyPopups` and `identify` found: pass the result’s `ref`. ```tsx import { Map, MapView, type MapViewHandle } from 'expo-arcgis'; import { Bookmarks, Compass, Scalebar } from 'expo-arcgis-toolkit'; import { useRef } from 'react'; export default function App() { const mapView = useRef(null); return ( <> ' }}> {/* Outside the view: bound to it by its ref. */} ); } ``` ## Floating panel `` shows your React content in the Toolkit’s floating panel (iOS). Inside a `` or ``, it floats over the view, and touches outside the panel reach the map. The layout depends on the size class: * In portrait, it rests at the bottom of the view, like a sheet. * Elsewhere, it floats at the top, placed by `horizontalAlignment` and at most `maxWidth` wide. The user drags its handle between the `'summary'`, `'half'` and `'full'` detents. The panel decides the content’s size, and React lays the content out in it: give the content `flex: 1` to fill it. ```tsx const [detent, setDetent] = useState('half'); ``` ## Authenticator `` goes once at the root of the app. While it is mounted, it handles the authentication challenges and shows the Toolkit’s prompts: * a username and password, for token-secured services and IWA servers; * the portal’s sign-in page, for a portal in `oAuthUserConfigurations`; * the IAP sign-in, for a host in `iapConfigurations`; * whether to trust an untrusted host, on iOS with `promptForUntrustedHosts`; * which client certificate to use. ```tsx import { MapSettings, enablePersistentCredentialStore } from 'expo-arcgis'; import { Authenticator } from 'expo-arcgis-toolkit'; enablePersistentCredentialStore(); // keeps the sign-ins across launches export default function RootLayout() { return ( ', redirectUrl: 'my-app://auth' }, ]} /> ); } ``` It takes the place of expo-arcgis’s challenge handlers, and it hands the challenges back when it unmounts. Its ref’s `signOut()` is the Toolkit’s sign-out: it revokes the OAuth tokens, signs out of the IAPs and clears the credential stores. On iOS, App Transport Security rejects an untrusted host before the SDK can ask. Allow the host in Info.plist first (`NSAppTransportSecurity › NSExceptionDomains`), and keep Expo’s `NSAllowsLocalNetworking`: the development build loads its JavaScript from the local network. ## Augmented reality `TableTopSceneView`, `FlyoverSceneView` and `WorldScaleSceneView` are expo-arcgis’s `` shown in augmented reality: iOS uses ARKit, Android ARCore. * Place one inside a ``. * Overlays go inside it, and its events (`onTap`…) and ref (`identify`…) work as a scene view’s do. * The device’s movement controls the camera, so `camera` and `cameraController` don’t apply. For the camera feed to show through the scene, make the scene’s surface transparent. Tabletop and world-scale views also need a camera that can go below the surface: ```tsx import { Scene, SceneLayer } from 'expo-arcgis'; import { TableTopSceneView } from 'expo-arcgis-toolkit'; ``` AR needs a device: the iOS simulator has no ARKit, and an Android emulator has no ARCore unless Google Play Services for AR is installed. The Android views report why they failed to initialize (`onInitializationStatusChange`). ## With an AI agent The `expo-arcgis-toolkit` skill teaches coding agents these components: where each goes, its props and its platforms. Install it with the `expo-arcgis` skill: see [AI agents](/guides/ai-agents/). # expo-arcgis-toolkit ## Type Aliases * [AccessoryAlignment](/api-toolkit/type-aliases/accessoryalignment/) * [ArInitializationStatus](/api-toolkit/type-aliases/arinitializationstatus/) * [ArLocation](/api-toolkit/type-aliases/arlocation/) * [ArSceneViewProps](/api-toolkit/type-aliases/arsceneviewprops/) * [AuthenticatorHandle](/api-toolkit/type-aliases/authenticatorhandle/) * [AuthenticatorProps](/api-toolkit/type-aliases/authenticatorprops/) * [BasemapGalleryProps](/api-toolkit/type-aliases/basemapgalleryprops/) * [Bookmark](/api-toolkit/type-aliases/bookmark/) * [BookmarksProps](/api-toolkit/type-aliases/bookmarksprops/) * [BuildingExplorerProps](/api-toolkit/type-aliases/buildingexplorerprops/) * [BuildingExplorerSelection](/api-toolkit/type-aliases/buildingexplorerselection/) * [CalibrationButtonAlignment](/api-toolkit/type-aliases/calibrationbuttonalignment/) * [CompassProps](/api-toolkit/type-aliases/compassprops/) * [FeatureFormEditingEvent](/api-toolkit/type-aliases/featureformeditingevent/) * [FeatureFormViewProps](/api-toolkit/type-aliases/featureformviewprops/) * [FloatingPanelDetent](/api-toolkit/type-aliases/floatingpaneldetent/) * [FloatingPanelProps](/api-toolkit/type-aliases/floatingpanelprops/) * [FloorFilterProps](/api-toolkit/type-aliases/floorfilterprops/) * [FloorFilterSelection](/api-toolkit/type-aliases/floorfilterselection/) * [FloorFilterUIProperties](/api-toolkit/type-aliases/floorfilteruiproperties/) * [FlyoverSceneViewProps](/api-toolkit/type-aliases/flyoversceneviewprops/) * [IapAuthorizationPromptType](/api-toolkit/type-aliases/iapauthorizationprompttype/) * [IapConfiguration](/api-toolkit/type-aliases/iapconfiguration/) * [LegendProps](/api-toolkit/type-aliases/legendprops/) * [LegendTextStyle](/api-toolkit/type-aliases/legendtextstyle/) * [LocationButtonProps](/api-toolkit/type-aliases/locationbuttonprops/) * [OAuthUserConfiguration](/api-toolkit/type-aliases/oauthuserconfiguration/) * [OfflineMapAreasHandle](/api-toolkit/type-aliases/offlinemapareashandle/) * [OfflineMapAreasProps](/api-toolkit/type-aliases/offlinemapareasprops/) * [OverviewMapProps](/api-toolkit/type-aliases/overviewmapprops/) * [PopupViewProps](/api-toolkit/type-aliases/popupviewprops/) * [ScalebarProps](/api-toolkit/type-aliases/scalebarprops/) * [ScalebarStyle](/api-toolkit/type-aliases/scalebarstyle/) * [SearchProps](/api-toolkit/type-aliases/searchprops/) * [SearchSource](/api-toolkit/type-aliases/searchsource/) * [TableTopSceneViewProps](/api-toolkit/type-aliases/tabletopsceneviewprops/) * [UtilityNetworkTraceProps](/api-toolkit/type-aliases/utilitynetworktraceprops/) * [WorldScaleSceneViewProps](/api-toolkit/type-aliases/worldscalesceneviewprops/) ## Variables * [Authenticator](/api-toolkit/variables/authenticator/) * [FlyoverSceneView](/api-toolkit/variables/flyoversceneview/) * [jobManager](/api-toolkit/variables/jobmanager/) * [OfflineMapAreas](/api-toolkit/variables/offlinemapareas/) * [TableTopSceneView](/api-toolkit/variables/tabletopsceneview/) * [WorldScaleSceneView](/api-toolkit/variables/worldscalesceneview/) ## Functions * [BasemapGallery](/api-toolkit/functions/basemapgallery/) * [Bookmarks](/api-toolkit/functions/bookmarks/) * [BuildingExplorer](/api-toolkit/functions/buildingexplorer/) * [Compass](/api-toolkit/functions/compass/) * [FeatureFormView](/api-toolkit/functions/featureformview/) * [FloatingPanel](/api-toolkit/functions/floatingpanel/) * [FloorFilter](/api-toolkit/functions/floorfilter/) * [Legend](/api-toolkit/functions/legend/) * [LocationButton](/api-toolkit/functions/locationbutton/) * [OverviewMap](/api-toolkit/functions/overviewmap/) * [PopupView](/api-toolkit/functions/popupview/) * [Scalebar](/api-toolkit/functions/scalebar/) * [Search](/api-toolkit/functions/search/) * [UtilityNetworkTrace](/api-toolkit/functions/utilitynetworktrace/) # expo-arcgis API reference # Every component, type and helper. Generated from the TypeScript source — interfaces, type aliases, the component variables you render, and the imperative functions and hooks behind them. ## [Variables](/api/readme/#variables) [35](/api/readme/#variables) [The renderable component objects — the things you actually mount in JSX.](/api/readme/#variables) [MapView SceneView FeatureLayer VectorTileLayer geometryEngine](/api/readme/#variables) ## [Functions](/api/readme/#functions) [25](/api/readme/#functions) [Component factories, auth helpers and the hooks that hand you imperative view & model handles.](/api/readme/#functions) [Map Scene useGeoView signInWithOAuth Viewshed](/api/readme/#functions) ## [Type Aliases](/api/readme/#type-aliases) [204](/api/readme/#type-aliases) [Every prop bag, geometry, symbol and result type the SDK takes or returns.](/api/readme/#type-aliases) [MapViewProps Point Viewpoint RouteResult BasemapStyle](/api/readme/#type-aliases) ## [Interfaces](/api/readme/#interfaces) [7](/api/readme/#interfaces) [The imperative handles you capture with a ref to drive views, models and overlays.](/api/readme/#interfaces) [MapRef SceneRef LayerRef GraphicRef JobRef](/api/readme/#interfaces) *** ## Interfaces * [AnalysisOverlayRef](/api/interfaces/analysisoverlayref/) * [AnalysisRef](/api/interfaces/analysisref/) * [DistanceMeasurementRef](/api/interfaces/distancemeasurementref/) * [DynamicEntityLayerRef](/api/interfaces/dynamicentitylayerref/) * [ExpoArcgisModule](/api/interfaces/expoarcgismodule/) * [FeatureLayerRef](/api/interfaces/featurelayerref/) * [FeatureRef](/api/interfaces/featureref/) * [GeoElementLineOfSightRef](/api/interfaces/geoelementlineofsightref/) * [GeoElementViewshedRef](/api/interfaces/geoelementviewshedref/) * [GeometryEditorRef](/api/interfaces/geometryeditorref/) * [GeoViewRef](/api/interfaces/geoviewref/) * [GraphicRef](/api/interfaces/graphicref/) * [GraphicsOverlayRef](/api/interfaces/graphicsoverlayref/) * [ImageOverlayRef](/api/interfaces/imageoverlayref/) * [JobRef](/api/interfaces/jobref/) * [KmlLayerRef](/api/interfaces/kmllayerref/) * [LayerRef](/api/interfaces/layerref/) * [LineOfSightRef](/api/interfaces/lineofsightref/) * [MapRef](/api/interfaces/mapref/) * [PointCloudLayerRef](/api/interfaces/pointcloudlayerref/) * [PopupRef](/api/interfaces/popupref/) * [RasterLayerRef](/api/interfaces/rasterlayerref/) * [SceneRef](/api/interfaces/sceneref/) * [ServiceGeodatabaseRef](/api/interfaces/servicegeodatabaseref/) * [ViewshedRef](/api/interfaces/viewshedref/) ## Type Aliases * [AccessoryHost](/api/type-aliases/accessoryhost/) * [AnalysisOverlayHost](/api/type-aliases/analysisoverlayhost/) * [AnalysisOverlayProps](/api/type-aliases/analysisoverlayprops/) * [AngularUnit](/api/type-aliases/angularunit/) * [AnnotationLayerProps](/api/type-aliases/annotationlayerprops/) * [AreaUnit](/api/type-aliases/areaunit/) * [AtmosphereEffect](/api/type-aliases/atmosphereeffect/) * [AttachmentInfo](/api/type-aliases/attachmentinfo/) * [BasemapInfo](/api/type-aliases/basemapinfo/) * [BasemapQuery](/api/type-aliases/basemapquery/) * [BasemapStyle](/api/type-aliases/basemapstyle/) * [BuildingSceneLayerProps](/api/type-aliases/buildingscenelayerprops/) * [BuildRasterPyramidsParameters](/api/type-aliases/buildrasterpyramidsparameters/) * [CalloutProps](/api/type-aliases/calloutprops/) * [Camera](/api/type-aliases/camera/) * [CameraController](/api/type-aliases/cameracontroller/) * [ClassBreak](/api/type-aliases/classbreak/) * [ClassBreaksRenderer](/api/type-aliases/classbreaksrenderer/) * [ClusterReduction](/api/type-aliases/clusterreduction/) * [ColorStop](/api/type-aliases/colorstop/) * [ColorVisualVariable](/api/type-aliases/colorvisualvariable/) * [CompositeSymbolType](/api/type-aliases/compositesymboltype/) * [ConnectionStatus](/api/type-aliases/connectionstatus/) * [ContingentValueEntry](/api/type-aliases/contingentvalueentry/) * [ContingentValuesResult](/api/type-aliases/contingentvaluesresult/) * [CreateVersionParams](/api/type-aliases/createversionparams/) * [CustomDynamicSource](/api/type-aliases/customdynamicsource/) * [DictionaryRendererProp](/api/type-aliases/dictionaryrendererprop/) * [DimensionLayerProps](/api/type-aliases/dimensionlayerprops/) * [DirectionManeuver](/api/type-aliases/directionmaneuver/) * [DistanceCompositeSceneSymbol](/api/type-aliases/distancecompositescenesymbol/) * [DistanceMeasurementEvents](/api/type-aliases/distancemeasurementevents/) * [DistanceMeasurementProps](/api/type-aliases/distancemeasurementprops/) * [DistanceMeasurementResult](/api/type-aliases/distancemeasurementresult/) * [DistanceSymbolRange](/api/type-aliases/distancesymbolrange/) * [DynamicEntityChange](/api/type-aliases/dynamicentitychange/) * [DynamicEntityChangeType](/api/type-aliases/dynamicentitychangetype/) * [DynamicEntityField](/api/type-aliases/dynamicentityfield/) * [DynamicEntityInfo](/api/type-aliases/dynamicentityinfo/) * [DynamicEntityLayerEvents](/api/type-aliases/dynamicentitylayerevents/) * [DynamicEntityLayerHandle](/api/type-aliases/dynamicentitylayerhandle/) * [DynamicEntityLayerProps](/api/type-aliases/dynamicentitylayerprops/) * [DynamicEntityObservationInfo](/api/type-aliases/dynamicentityobservationinfo/) * [DynamicEntityPurgeOptions](/api/type-aliases/dynamicentitypurgeoptions/) * [EditResult](/api/type-aliases/editresult/) * [ElevationSource](/api/type-aliases/elevationsource/) * [Envelope](/api/type-aliases/envelope/) * [Feature](/api/type-aliases/feature/) * [FeatureCollectionFeatureSpec](/api/type-aliases/featurecollectionfeaturespec/) * [FeatureCollectionField](/api/type-aliases/featurecollectionfield/) * [FeatureCollectionLayerProps](/api/type-aliases/featurecollectionlayerprops/) * [FeatureLayerHandle](/api/type-aliases/featurelayerhandle/) * [FeatureLayerProps](/api/type-aliases/featurelayerprops/) * [FeatureReduction](/api/type-aliases/featurereduction/) * [FeatureTableSource](/api/type-aliases/featuretablesource/) * [FeatureTemplate](/api/type-aliases/featuretemplate/) * [GeocodeParameters](/api/type-aliases/geocodeparameters/) * [GeocodeResult](/api/type-aliases/geocoderesult/) * [GeodatabaseHandle](/api/type-aliases/geodatabasehandle/) * [GeodesicEllipseParams](/api/type-aliases/geodesicellipseparams/) * [GeodesicGeometryType](/api/type-aliases/geodesicgeometrytype/) * [GeodesicSectorParams](/api/type-aliases/geodesicsectorparams/) * [GeodeticCurveType](/api/type-aliases/geodeticcurvetype/) * [GeodeticDistanceResult](/api/type-aliases/geodeticdistanceresult/) * [GeoElementLineOfSightProps](/api/type-aliases/geoelementlineofsightprops/) * [GeoElementViewshedProps](/api/type-aliases/geoelementviewshedprops/) * [Geometry](/api/type-aliases/geometry/) * [GeometryEditorElementKind](/api/type-aliases/geometryeditorelementkind/) * [GeometryEditorEvents](/api/type-aliases/geometryeditorevents/) * [GeometryEditorHandle](/api/type-aliases/geometryeditorhandle/) * [GeometryEditorHost](/api/type-aliases/geometryeditorhost/) * [GeometryEditorInteractionPreview](/api/type-aliases/geometryeditorinteractionpreview/) * [GeometryEditorInteractionType](/api/type-aliases/geometryeditorinteractiontype/) * [GeometryEditorProps](/api/type-aliases/geometryeditorprops/) * [GeometryEditorTool](/api/type-aliases/geometryeditortool/) * [GeometryEditorType](/api/type-aliases/geometryeditortype/) * [GeometryOffsetType](/api/type-aliases/geometryoffsettype/) * [GeoModelRef](/api/type-aliases/geomodelref/) * [GeoPackageLayerProps](/api/type-aliases/geopackagelayerprops/) * [GeoprocessingInput](/api/type-aliases/geoprocessinginput/) * [GeoprocessingRasterOutput](/api/type-aliases/geoprocessingrasteroutput/) * [GeoprocessingResult](/api/type-aliases/geoprocessingresult/) * [GeoViewHandle](/api/type-aliases/geoviewhandle/) * [GeoViewHost](/api/type-aliases/geoviewhost/) * [GraphicProps](/api/type-aliases/graphicprops/) * [GraphicsOverlayHost](/api/type-aliases/graphicsoverlayhost/) * [GraphicsOverlayProps](/api/type-aliases/graphicsoverlayprops/) * [GridConfig](/api/type-aliases/gridconfig/) * [IdentifiedFeature](/api/type-aliases/identifiedfeature/) * [IdentifyResult](/api/type-aliases/identifyresult/) * [ImageOverlayHost](/api/type-aliases/imageoverlayhost/) * [ImageOverlayProps](/api/type-aliases/imageoverlayprops/) * [InsetsViewpointAdjustment](/api/type-aliases/insetsviewpointadjustment/) * [IntegratedMeshLayerProps](/api/type-aliases/integratedmeshlayerprops/) * [JobEvents](/api/type-aliases/jobevents/) * [KeychainAccess](/api/type-aliases/keychainaccess/) * [KmlLayerHandle](/api/type-aliases/kmllayerhandle/) * [KmlLayerProps](/api/type-aliases/kmllayerprops/) * [KmlNodeInfo](/api/type-aliases/kmlnodeinfo/) * [LabelDefinition](/api/type-aliases/labeldefinition/) * [LatitudeLongitudeFormat](/api/type-aliases/latitudelongitudeformat/) * [LayerProps](/api/type-aliases/layerprops/) * [LinearUnit](/api/type-aliases/linearunit/) * [LineOfSightEvents](/api/type-aliases/lineofsightevents/) * [LineOfSightProps](/api/type-aliases/lineofsightprops/) * [LocalSceneViewHandle](/api/type-aliases/localsceneviewhandle/) * [LocalSceneViewProps](/api/type-aliases/localsceneviewprops/) * [LocationDisplay](/api/type-aliases/locationdisplay/) * [LocationDisplayAutoPanMode](/api/type-aliases/locationdisplayautopanmode/) * [LocationEventPayload](/api/type-aliases/locationeventpayload/) * [MapImageLayerProps](/api/type-aliases/mapimagelayerprops/) * [MapLoadedEventPayload](/api/type-aliases/maploadedeventpayload/) * [MapLoadErrorEventPayload](/api/type-aliases/maploaderroreventpayload/) * [MapProps](/api/type-aliases/mapprops/) * [MapSettingsConfig](/api/type-aliases/mapsettingsconfig/) * [MapSettingsProps](/api/type-aliases/mapsettingsprops/) * [MapViewHandle](/api/type-aliases/mapviewhandle/) * [MapViewInsets](/api/type-aliases/mapviewinsets/) * [MapViewProps](/api/type-aliases/mapviewprops/) * [MgrsConversionMode](/api/type-aliases/mgrsconversionmode/) * [ModelSceneSymbol](/api/type-aliases/modelscenesymbol/) * [MultilayerPointSymbolType](/api/type-aliases/multilayerpointsymboltype/) * [Multipoint](/api/type-aliases/multipoint/) * [OfflineGeodatabaseResult](/api/type-aliases/offlinegeodatabaseresult/) * [OfflineMapParameterOverrides](/api/type-aliases/offlinemapparameteroverrides/) * [OfflineMapResult](/api/type-aliases/offlinemapresult/) * [OfflineTileResult](/api/type-aliases/offlinetileresult/) * [Ogc3DTilesLayerProps](/api/type-aliases/ogc3dtileslayerprops/) * [OgcFeatureLayerProps](/api/type-aliases/ogcfeaturelayerprops/) * [OpacityStop](/api/type-aliases/opacitystop/) * [OpacityVisualVariable](/api/type-aliases/opacityvisualvariable/) * [OpenAuthSession](/api/type-aliases/openauthsession/) * [OpenStreetMapLayerProps](/api/type-aliases/openstreetmaplayerprops/) * [OrderByField](/api/type-aliases/orderbyfield/) * [OrientedImageryLayerProps](/api/type-aliases/orientedimagerylayerprops/) * [PersistentCredentialStoreOptions](/api/type-aliases/persistentcredentialstoreoptions/) * [PictureFillSymbol](/api/type-aliases/picturefillsymbol/) * [PictureMarkerSymbol](/api/type-aliases/picturemarkersymbol/) * [PictureMarkerSymbolLayerSpec](/api/type-aliases/picturemarkersymbollayerspec/) * [Point](/api/type-aliases/point/) * [PointCloudAttribute](/api/type-aliases/pointcloudattribute/) * [PointCloudAttributeTransformType](/api/type-aliases/pointcloudattributetransformtype/) * [PointCloudColorClassBreak](/api/type-aliases/pointcloudcolorclassbreak/) * [PointCloudColorModulation](/api/type-aliases/pointcloudcolormodulation/) * [PointCloudColorStop](/api/type-aliases/pointcloudcolorstop/) * [PointCloudColorUniqueValue](/api/type-aliases/pointcloudcoloruniquevalue/) * [PointCloudFilter](/api/type-aliases/pointcloudfilter/) * [PointCloudLayerHandle](/api/type-aliases/pointcloudlayerhandle/) * [PointCloudLayerProps](/api/type-aliases/pointcloudlayerprops/) * [PointCloudRenderer](/api/type-aliases/pointcloudrenderer/) * [PointCloudRendererBase](/api/type-aliases/pointcloudrendererbase/) * [PointCloudReturnType](/api/type-aliases/pointcloudreturntype/) * [PointCloudSizeAlgorithm](/api/type-aliases/pointcloudsizealgorithm/) * [PointGeometry](/api/type-aliases/pointgeometry/) * [Polygon](/api/type-aliases/polygon/) * [Polyline](/api/type-aliases/polyline/) * [PolylineGeometry](/api/type-aliases/polylinegeometry/) * [PopupMediaInfo](/api/type-aliases/popupmediainfo/) * [PopupResult](/api/type-aliases/popupresult/) * [PortalItem](/api/type-aliases/portalitem/) * [PortalItemInfo](/api/type-aliases/portaliteminfo/) * [PortalQuery](/api/type-aliases/portalquery/) * [PreplannedMapAreaInfo](/api/type-aliases/preplannedmapareainfo/) * [ProximityResult](/api/type-aliases/proximityresult/) * [QueryParameters](/api/type-aliases/queryparameters/) * [RasterLayerHandle](/api/type-aliases/rasterlayerhandle/) * [RasterLayerProps](/api/type-aliases/rasterlayerprops/) * [RasterPyramidCompressionType](/api/type-aliases/rasterpyramidcompressiontype/) * [RasterPyramidInfo](/api/type-aliases/rasterpyramidinfo/) * [RasterResamplingType](/api/type-aliases/rasterresamplingtype/) * [RasterSource](/api/type-aliases/rastersource/) * [RelatedFeaturesResult](/api/type-aliases/relatedfeaturesresult/) * [Renderer](/api/type-aliases/renderer/) * [ReverseGeocodeParameters](/api/type-aliases/reversegeocodeparameters/) * [RotationVisualVariable](/api/type-aliases/rotationvisualvariable/) * [Route](/api/type-aliases/route/) * [RouteParameters](/api/type-aliases/routeparameters/) * [RouteResult](/api/type-aliases/routeresult/) * [RouteStop](/api/type-aliases/routestop/) * [RouteTrackerHandle](/api/type-aliases/routetrackerhandle/) * [RouteTrackingStatus](/api/type-aliases/routetrackingstatus/) * [SceneLayerProps](/api/type-aliases/scenelayerprops/) * [SceneProperties](/api/type-aliases/sceneproperties/) * [SceneProps](/api/type-aliases/sceneprops/) * [SceneViewContainer](/api/type-aliases/sceneviewcontainer/) * [SceneViewHandle](/api/type-aliases/sceneviewhandle/) * [SceneViewProps](/api/type-aliases/sceneviewprops/) * [ScreenPoint](/api/type-aliases/screenpoint/) * [ServiceAreaPolygon](/api/type-aliases/serviceareapolygon/) * [ServiceAreaResult](/api/type-aliases/servicearearesult/) * [ServiceAreaSolveParams](/api/type-aliases/serviceareasolveparams/) * [ServiceGeodatabaseHandle](/api/type-aliases/servicegeodatabasehandle/) * [ServiceVersionInfo](/api/type-aliases/serviceversioninfo/) * [SharedTemplateInfo](/api/type-aliases/sharedtemplateinfo/) * [SharedTemplateRelationship](/api/type-aliases/sharedtemplaterelationship/) * [SimpleFillSymbol](/api/type-aliases/simplefillsymbol/) * [SimpleFillSymbolStyle](/api/type-aliases/simplefillsymbolstyle/) * [SimpleLineSymbol](/api/type-aliases/simplelinesymbol/) * [SimpleLineSymbolStyle](/api/type-aliases/simplelinesymbolstyle/) * [SimpleMarkerSceneSymbol](/api/type-aliases/simplemarkerscenesymbol/) * [SimpleMarkerSymbol](/api/type-aliases/simplemarkersymbol/) * [SimpleMarkerSymbolStyle](/api/type-aliases/simplemarkersymbolstyle/) * [SimpleRenderer](/api/type-aliases/simplerenderer/) * [SizeStop](/api/type-aliases/sizestop/) * [SizeVisualVariable](/api/type-aliases/sizevisualvariable/) * [SpatialReference](/api/type-aliases/spatialreference/) * [SpatialRelationship](/api/type-aliases/spatialrelationship/) * [StatisticDefinition](/api/type-aliases/statisticdefinition/) * [StatisticRecord](/api/type-aliases/statisticrecord/) * [StatisticsQueryParameters](/api/type-aliases/statisticsqueryparameters/) * [StatisticType](/api/type-aliases/statistictype/) * [Stroke](/api/type-aliases/stroke/) * [SubtypeFeatureLayerProps](/api/type-aliases/subtypefeaturelayerprops/) * [SuggestParameters](/api/type-aliases/suggestparameters/) * [SuggestResult](/api/type-aliases/suggestresult/) * [SunLighting](/api/type-aliases/sunlighting/) * [Surface](/api/type-aliases/surface/) * [SurfacePlacement](/api/type-aliases/surfaceplacement/) * [Symbol](/api/type-aliases/symbol/) * [SymbolLayerSpec](/api/type-aliases/symbollayerspec/) * [TapEventPayload](/api/type-aliases/tapeventpayload/) * [TargetVisibility](/api/type-aliases/targetvisibility/) * [TextSymbol](/api/type-aliases/textsymbol/) * [TileCacheSizeEstimate](/api/type-aliases/tilecachesizeestimate/) * [TileLayerProps](/api/type-aliases/tilelayerprops/) * [TrackDisplay](/api/type-aliases/trackdisplay/) * [TrackedLocation](/api/type-aliases/trackedlocation/) * [UniqueValueInfo](/api/type-aliases/uniquevalueinfo/) * [UniqueValueRenderer](/api/type-aliases/uniquevaluerenderer/) * [UtilityAssociationSummary](/api/type-aliases/utilityassociationsummary/) * [UtilityElementDescriptor](/api/type-aliases/utilityelementdescriptor/) * [UtilityElementInfo](/api/type-aliases/utilityelementinfo/) * [UtilityNamedTraceConfiguration](/api/type-aliases/utilitynamedtraceconfiguration/) * [UtilityNetworkHandle](/api/type-aliases/utilitynetworkhandle/) * [UtilityNetworkProps](/api/type-aliases/utilitynetworkprops/) * [UtilityNetworkState](/api/type-aliases/utilitynetworkstate/) * [UtilityTerminal](/api/type-aliases/utilityterminal/) * [UtilityTerminalConfiguration](/api/type-aliases/utilityterminalconfiguration/) * [UtilityTraceFunctionResult](/api/type-aliases/utilitytracefunctionresult/) * [UtilityTraceResult](/api/type-aliases/utilitytraceresult/) * [UtilityTraceType](/api/type-aliases/utilitytracetype/) * [UtmConversionMode](/api/type-aliases/utmconversionmode/) * [VectorMarkerSymbolLayerSpec](/api/type-aliases/vectormarkersymbollayerspec/) * [VectorTileFeature](/api/type-aliases/vectortilefeature/) * [VectorTileLayerProps](/api/type-aliases/vectortilelayerprops/) * [VectorTileStyleLayerType](/api/type-aliases/vectortilestylelayertype/) * [VersionAccess](/api/type-aliases/versionaccess/) * [Viewpoint](/api/type-aliases/viewpoint/) * [ViewshedProps](/api/type-aliases/viewshedprops/) * [VisualVariable](/api/type-aliases/visualvariable/) * [WebTiledLayerProps](/api/type-aliases/webtiledlayerprops/) * [WfsLayerProps](/api/type-aliases/wfslayerprops/) * [WmsLayerProps](/api/type-aliases/wmslayerprops/) * [WmtsLayerProps](/api/type-aliases/wmtslayerprops/) ## Variables * [AnnotationLayer](/api/variables/annotationlayer/) * [BuildingSceneLayer](/api/variables/buildingscenelayer/) * [coordinateFormatter](/api/variables/coordinateformatter/) * [default](/api/variables/default/) * [DimensionLayer](/api/variables/dimensionlayer/) * [DynamicEntityLayer](/api/variables/dynamicentitylayer/) * [FeatureCollectionLayer](/api/variables/featurecollectionlayer/) * [FeatureLayer](/api/variables/featurelayer/) * [geocoder](/api/variables/geocoder/) * [GeometryEditor](/api/variables/geometryeditor/) * [geometryEngine](/api/variables/geometryengine/) * [GeoPackageLayer](/api/variables/geopackagelayer/) * [geoprocessor](/api/variables/geoprocessor/) * [Graphic](/api/variables/graphic/) * [GraphicsOverlay](/api/variables/graphicsoverlay/) * [IntegratedMeshLayer](/api/variables/integratedmeshlayer/) * [KmlLayer](/api/variables/kmllayer/) * [LocalSceneView](/api/variables/localsceneview/) * [MapView](/api/variables/mapview/) * [offline](/api/variables/offline/) * [Ogc3DTilesLayer](/api/variables/ogc3dtileslayer/) * [OgcFeatureLayer](/api/variables/ogcfeaturelayer/) * [OpenStreetMapLayer](/api/variables/openstreetmaplayer/) * [OrientedImageryLayer](/api/variables/orientedimagerylayer/) * [PointCloudLayer](/api/variables/pointcloudlayer/) * [portal](/api/variables/portal/) * [RasterLayer](/api/variables/rasterlayer/) * [router](/api/variables/router/) * [SceneView](/api/variables/sceneview/) * [serviceArea](/api/variables/servicearea/) * [SubtypeFeatureLayer](/api/variables/subtypefeaturelayer/) * [UtilityNetwork](/api/variables/utilitynetwork/) * [VectorTileLayer](/api/variables/vectortilelayer/) * [WebTiledLayer](/api/variables/webtiledlayer/) * [WfsLayer](/api/variables/wfslayer/) * [WmsLayer](/api/variables/wmslayer/) * [WmtsLayer](/api/variables/wmtslayer/) ## Functions * [AnalysisOverlay](/api/functions/analysisoverlay/) * [Callout](/api/functions/callout/) * [clearCredentialStore](/api/functions/clearcredentialstore/) * [DistanceMeasurement](/api/functions/distancemeasurement/) * [enablePersistentCredentialStore](/api/functions/enablepersistentcredentialstore/) * [GroupLayer](/api/functions/grouplayer/) * [ImageOverlay](/api/functions/imageoverlay/) * [LineOfSight](/api/functions/lineofsight/) * [Map](/api/functions/map/) * [MapImageLayer](/api/functions/mapimagelayer/) * [MapSettings](/api/functions/mapsettings/) * [Scene](/api/functions/scene/) * [SceneLayer](/api/functions/scenelayer/) * [setAllowUntrustedHosts](/api/functions/setallowuntrustedhosts/) * [setAppCredential](/api/functions/setappcredential/) * [setServiceCredential](/api/functions/setservicecredential/) * [setTokenCredential](/api/functions/settokencredential/) * [signInWithOAuth](/api/functions/signinwithoauth/) * [signOut](/api/functions/signout/) * [TileLayer](/api/functions/tilelayer/) * [useGeoModel](/api/functions/usegeomodel/) * [useGeoView](/api/functions/usegeoview/) * [useGeoViewRef](/api/functions/usegeoviewref/) * [useGraphicsOverlay](/api/functions/usegraphicsoverlay/) * [useMapSettings](/api/functions/usemapsettings/) * [Viewshed](/api/functions/viewshed/) # AI agents > Install the expo-arcgis and expo-arcgis-toolkit skills in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and other coding agents, and give them the docs as text. Coding agents know the ArcGIS Maps SDK for JavaScript far better than expo-arcgis, so they tend to write `@arcgis/core` code. Two things help them write code for these packages: * the packages’ **skills**, which an agent loads when the task needs them; * the docs **as text** (`llms.txt`), for an agent or a chat that reads a URL. ## The skills There is a skill for each package. They follow the open [Agent Skills](https://agentskills.io) format, which most coding agents read. | Skill | What it covers | | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `expo-arcgis` | Setup and the config plugin, maps and scenes, layers, graphics, geometry, editing, query, geocoding, routing, offline, real-time, authentication and 3D analysis. | | `expo-arcgis-toolkit` | The Toolkit’s components, the options of its config plugin, and what each platform has. | An agent reads each skill’s description at the start and loads the rest when the task matches. For the Toolkit, install both skills: it builds on expo-arcgis. The skills are in the repository’s [`skills/`](https://github.com/alex-krassavin/expo-arcgis/tree/main/skills) folder. Each npm package also ships its own skill, for the version you have installed. ## Claude Code Add the repository as a plugin marketplace, then install the plugins: ```text /plugin marketplace add alex-krassavin/expo-arcgis /plugin install expo-arcgis@expo-arcgis /plugin install expo-arcgis-toolkit@expo-arcgis ``` The Toolkit’s plugin depends on the core’s, so installing `expo-arcgis-toolkit` installs both. The same, from a terminal: ```sh claude plugin marketplace add alex-krassavin/expo-arcgis claude plugin install expo-arcgis-toolkit@expo-arcgis ``` Claude uses a skill on its own when the task matches it. You can also call one: `/expo-arcgis:expo-arcgis` or `/expo-arcgis-toolkit:expo-arcgis-toolkit`. To get newer skills, run `/plugin marketplace update expo-arcgis`, or turn on auto-update for the marketplace in `/plugin`. ### For a team Add `--scope project` to both commands. Claude Code then records the marketplace and the plugins in the project’s `.claude/settings.json`. Commit it. Each teammate’s Claude Code adds the marketplace once they trust the folder, and each teammate runs the install command once: ```sh claude plugin install expo-arcgis-toolkit@expo-arcgis --scope project ``` ## Codex, Cursor, Gemini CLI, GitHub Copilot and others The [`skills`](https://github.com/vercel-labs/skills) command line installs both skills into the folders your agents read: ```sh npx skills add alex-krassavin/expo-arcgis ``` It asks which skills to install and for which agents. To answer up front, name them: ```sh npx skills add alex-krassavin/expo-arcgis --skill '*' --agent codex cursor gemini-cli github-copilot -y ``` The skills go into the project’s `.agents/skills/`, which these agents share. If you also pick Claude Code, the command links them into `.claude/skills/`. Add `-g` to install them for your user instead of the project. `npx skills update` updates them later. The `skills` command sends anonymous install counts to [skills.sh](https://skills.sh). Set `DISABLE_TELEMETRY=1` to turn that off. ### The skill of your installed version The npm packages ship their skills in `node_modules`, so an agent can get the skill of the version you use, not of the repository’s main branch. Install them from there: ```sh npx skills add ./node_modules/expo-arcgis npx skills add ./node_modules/expo-arcgis-toolkit ``` A local path sends no telemetry. Run the commands again after you update the packages. ## Copy the folders An agent that only reads a folder needs the skill’s folder copied into it. A skill is its whole folder, `SKILL.md` and `references/`, under the skill’s own name: ```sh mkdir -p .agents/skills cp -R node_modules/expo-arcgis/skills/expo-arcgis .agents/skills/ cp -R node_modules/expo-arcgis-toolkit/skills/expo-arcgis-toolkit .agents/skills/ ``` Where each agent looks: | Agent | In the project | For your user | | ------------------------------------------------------------------------------------------ | ----------------- | ------------------- | | Claude Code | `.claude/skills/` | `~/.claude/skills/` | | Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, Windsurf, Amp, Goose, Roo Code, Junie | `.agents/skills/` | `~/.agents/skills/` | | Cline | `.cline/skills/` | `~/.cline/skills/` | | Kiro | `.kiro/skills/` | `~/.kiro/skills/` | ## The docs as text The site also serves its pages as plain text, in the [llms.txt](https://llmstxt.org) format: | File | What it has | | ------------------------------------ | ----------------------------------------------------------------------------- | | [`/llms.txt`](/llms.txt) | An index: what the packages are, and a link to each part of the docs. | | [`/llms-full.txt`](/llms-full.txt) | Every page: the guides, the samples and both API references. | | [`/llms-small.txt`](/llms-small.txt) | The guides, the samples and the API indexes, without the page of each symbol. | Give an agent one of these URLs, for example as a docs source in Cursor, or paste it into a chat. The skills point to the docs for what they don’t cover. # Platform differences > What the ArcGIS Maps SDKs and Toolkits have on one platform only, and how expo-arcgis and expo-arcgis-toolkit handle it. The API is the same on iOS and Android. Where the native SDKs or Toolkits differ, it follows each platform’s own, and it doesn’t make up what a platform lacks: * A component that one platform’s Toolkit doesn’t have renders nothing on the other platform, and warns once in development. * A setting that one platform doesn’t have does nothing on the other. * The [API reference](/api/readme/) and the [Toolkit API reference](/api-toolkit/readme/) mark each of them with **Platform**. To show something else on the platform that lacks a component, branch on `Platform.OS`. ## Toolkit components | Component | iOS | Android | | ------------------------------------------------------------------------------------------- | --- | ------- | | `Compass`, `Scalebar`, `FloorFilter`, `BasemapGallery` | ✓ | ✓ | | `PopupView`, `FeatureFormView`, `UtilityNetworkTrace`, `OfflineMapAreas` | ✓ | ✓ | | `Authenticator` | ✓ | ✓ | | `TableTopSceneView`, `FlyoverSceneView`, `WorldScaleSceneView` | ✓ | ✓ | | `OverviewMap`, `LocationButton`, `Bookmarks`, `Search`, `BuildingExplorer`, `FloatingPanel` | ✓ | — | | `jobManager` (its functions do nothing on Android) | ✓ | — | | `Legend` | — | ✓ | ## Settings that differ The Toolkits configure some components differently. Each setting keeps its own platform’s name. | Component | iOS only | Android only | | --------------------- | -------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `FloorFilter` | `automaticSelectionMode`, `automaticSingleSiteSelectionDisabled`, `levelSelectorWidth` | `uiProperties` (colors, button size, which buttons show) | | `FeatureFormView` | `editingButtons` | `showFormActions`, `showCloseIcon` | | `PopupView` | — | `showCloseIcon` | | `Authenticator` | `promptForUntrustedHosts` (the Kotlin Toolkit always asks) | `dismissAll()` on its ref | | `TableTopSceneView` | `coachingOverlayHidden` | `requestCameraPermissionAutomatically`, `onInitializationStatusChange` | | `FlyoverSceneView` | — | `onInitializationStatusChange` | | `WorldScaleSceneView` | `trackingMode`, `calibrationViewHidden`, `calibrationButtonAlignment`, `onCalibratingChange` | `worldScaleTrackingMode`, `onInitializationStatusChange`, `onTrackingErrorChange` | The Swift Toolkit’s AR views report no initialization status, so `onInitializationStatusChange` is Android’s. ## In expo-arcgis | API | iOS only | Android only | | --------------------------------- | ---------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | `` | — | `leaderPosition`, `colors`, `shapes`: the Kotlin Toolkit’s callout styling. The Swift SDK’s callout has the system’s look, and places its leader itself. | | `enablePersistentCredentialStore` | `access`, `synchronizesWithiCloud`: the keychain’s options | — | ## Setting up the app * **iOS: App Transport Security.** ATS rejects an untrusted host before the SDK can ask about it. To trust a host (`setAllowUntrustedHosts`, or the Authenticator’s prompt), allow it in Info.plist under `NSAppTransportSecurity › NSExceptionDomains`. See the [Toolkit guide](/guides/toolkit/#authenticator). * **Android: OAuth and IAP redirects.** The Kotlin Toolkit’s sign-in pages come back to the app through its `AuthenticationActivity`. The toolkit’s config plugin declares it for the redirect URIs in `oAuthRedirectUris`. iOS needs nothing for them. * **Android: offline downloads.** On Android 13+, request the notification permission at runtime to see a download’s progress. * **Augmented reality.** iOS uses ARKit and Android uses ARCore. The config plugin’s `ar` option makes ARCore optional by default, or required. The minimum versions (iOS 18, Android API 28) are in [Getting started](/guides/getting-started/#requirements). # expo-arcgis > The native ArcGIS Maps SDK for React Native and Expo: maps and scenes, layers, editing, geocoding, routing, offline and the ArcGIS Toolkit's components. Native ArcGIS Maps SDK · Expo modules The ArcGIS SDK,\ rewritten as components. ======================== 2D & 3D maps, layers, geometry, editing, query, geocoding, routing, analysis, offline and real-time — for React Native, faithful to the ArcGIS object model. [Getting started](/guides/getting-started/)[View on GitHub](https://github.com/alex-krassavin/expo-arcgis) CoreWith the Toolkit `$ npx expo install expo-arcgis ` `$ npx expo install expo-arcgis expo-arcgis-toolkit ` Declarative by design ## A component tree that mirrors the object model. A `` model lives inside a `` host, with layers and graphics as children. If you know ArcGIS, you already know the API. App.tsx ``` // a Map model inside a MapView host ``` What's in the box 01 ### 2D & 3D, every layer type `` and `` host the full ArcGIS layer set inside declarative `` containers. featuretilevectorrasterWMS / WMTSKMLscenepoint cloudWFS / OGC 02 ### Declarative & SDK-faithful A component API that mirrors the ArcGIS object model — a `` model inside a `` host, with layers and graphics as children. If you know ArcGIS, you already know the API. 03 ### Everything in the box Query, identify, popups, batch & related editing with attachments, geocoding (with suggestion round-trip), routing & turn-by-turn navigation, 3D viewshed / line-of-sight / measurement, geoprocessing, utility networks, real-time dynamic-entity tracking, offline maps and authentication. 04 ### Genuinely native A Kotlin (Android) + Swift (iOS) bridge over ArcGIS Maps SDK 300. Not Expo Go — use a development build. 05 ### The ArcGIS Toolkit, too `expo-arcgis-toolkit` brings the Toolkits' own components to your views: Esri's look and behavior, the Toolkit's settings as props. compassscalebarbasemap gallerysearchpopupsfeature formsoffline map areassign-inaugmented realityfloating panel Running on device ## The same components. Real native maps. Native iOS & Android maps, rendered by the SDK. ![MapView running on iOS](/samples/display-map-ios.webp) iOS · MAPVIEW · 2D ![SceneView running on Android](/samples/light-and-shadows-android.webp) ANDROID · SCENEVIEW · 3D expo-arcgis-toolkit ## The ArcGIS Toolkit's components, native too. Esri's own Toolkit views — search, popups, forms, offline areas, sign-in and augmented reality — driven by your maps and scenes, with the Toolkit's settings as props. ![FloatingPanel running on iOS](/samples/toolkit-floating-panel-ios.webp) iOS · FLOATINGPANEL ![BasemapGallery running on Android](/samples/toolkit-basemap-gallery-android.webp) ANDROID · BASEMAPGALLERY ![OfflineMapAreas running on iOS](/samples/toolkit-offline-map-areas-ios.webp) iOS · OFFLINEMAPAREAS [Explore the Toolkit](/guides/toolkit/) ## Start mapping in minutes. Add the module, run a development build, render your first ``. [Read the guide](/guides/getting-started/) Built on the native ArcGIS Maps SDKFor AI agents: [Agent Skills](/guides/ai-agents/) · [llms.txt](/llms.txt) # Authentication > Token login, OAuth sign-in and sign-out. Token login, OAuth sign-in and sign-out. ![Authentication running on iOS](/samples/authentication-ios.webp) iOS ![Authentication running on Android](/samples/authentication-android.webp) Android This is the real source of the example app’s `auth/authentication` screen — run it on a device or simulator to see it live. app/auth/authentication.tsx ```tsx import { Map, MapView, setTokenCredential, signInWithOAuth, signOut } from 'expo-arcgis'; import { useState } from 'react'; import { Linking } from 'react-native'; import { Button } from '../../components/ui/button'; import { SampleScreen } from '../../src/SampleScreen'; /** * Authentication entry points: a stored token login, an OAuth user sign-in, and sign-out. * OAuth needs a registered app's client id + redirect — the placeholders here are illustrative. */ export default function Authentication() { const [status, setStatus] = useState('Token, OAuth or sign-out.'); function tokenLogin() { // Stored login; the challenge handler authenticates secured services as they load. setTokenCredential('viewer01', 'I68VGU^nMurF'); setStatus('Token credential stored — secured services authenticate on load'); } async function oauth() { setStatus('OAuth: signing in…'); try { // The module has no browser dependency — the consumer opens the auth session. Here we use // React Native's Linking; a real app could use expo-web-browser / expo-auth-session. const openAuthSession = (authorizeUrl: string, redirectUrl: string) => new Promise((resolve) => { const subscription = Linking.addEventListener('url', ({ url }) => { if (url.startsWith(redirectUrl)) { subscription.remove(); resolve(url); } }); Linking.openURL(authorizeUrl); }); await signInWithOAuth( 'https://www.arcgis.com', 'YOUR_CLIENT_ID', 'expoarcgisexample://auth', openAuthSession ); setStatus('OAuth sign-in ✅ — secured portal items now load'); } catch (e) { setStatus(`OAuth error: ${String(e)}`); } } return (