> For the complete documentation index, see [llms.txt](https://the-sheet.gitbook.io/the-sheet-v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-sheet.gitbook.io/the-sheet-v2/apps/example-expo/docs/expo-template.md).

# expo-template

Template for simple Expo app

## Maintenance

* `pnpm outdated`: Check for outdated dependencies for client
  * `pnpm up --latest`: Update dependencies to latest versions for client
  * Or choose certain dependencies to update by specifying package names
* `pnpm install --resolution-only`: Check for outdated dependencies or potential version conflicts
* `pnpm why <package-name>`: Check why a certain package is installed and which other packages depend on it

## Upgrading Expo SDK + dependencies

<https://docs.expo.dev/workflow/upgrading-expo-sdk-walkthrough/#upgrade-dependencies>:

* `pnpx expo upgrade`: Upgrade the Expo SDK version and update all dependencies to compatible versions
  * Or `pnpm add expo@^55.0.0`
* `pnpx expo install --check`: Check for outdated Expo-related dependencies and suggest updates
* `pnpx expo install --fix`: Automatically update Expo-related dependencies to compatible versions
* `pnpx expo install <package-name>`: Install a package and automatically choose the correct version compatible with the Expo SDK version
  * For anything Expo/React Native related

Read more:

* Code: <https://github.com/expo/expo>
  * tools/src/Versions.ts
  * packages/expo-doctor/src/api/getNativeModuleVersionsAsync.ts
  * packages/expo/bundledNativeModules.json
* All Expo versions: <https://api.expo.dev/v2/versions/latest>
* Live Expo SDK package versions: <https://api.expo.dev/v2/sdks/EXPO\\_SDK\\_VERSION.0.0/native-modules>

## Package management

* When a package version is listed with `~` or no sign, high chance it means Expo is managing the version and you should not update it manually
* Use `pnpm epc <EXPO_SDK_VERSION>` to make sure


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://the-sheet.gitbook.io/the-sheet-v2/apps/example-expo/docs/expo-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
