diff --git a/README.md b/README.md index 9036f99..9e52d38 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,13 @@ BugSplat's `@bugsplat/expo` package provides crash and error reporting for Expo ## Installation ```sh -npx expo install @bugsplat/expo +npx expo install @bugsplat/expo expo-blob @bugsplat/react ``` +`expo-blob` and `@bugsplat/react` are peer dependencies so that exactly one copy of each ends up in your app. + +`expo-blob` ships native code that has to match your project's Expo SDK, so install the release line for your SDK — `57.x` for SDK 57, `56.x` for SDK 56, and so on. It is not yet listed in Expo's bundled native modules manifest, so `expo install` will not pin it for you. + ## Configuration Add the config plugin to your `app.json` or `app.config.js`: diff --git a/example/package.json b/example/package.json index d57c147..2cca6e0 100644 --- a/example/package.json +++ b/example/package.json @@ -12,23 +12,25 @@ }, "dependencies": { "@bugsplat/expo": "file:..", - "@react-native-async-storage/async-storage": "^2.1.2", - "expo": "~55.0.8", - "expo-build-properties": "^55.0.10", - "expo-clipboard": "~55.0.13", - "expo-document-picker": "~55.0.13", - "expo-file-system": "~55.0.22", - "expo-sensors": "~55.0.15", - "expo-system-ui": "~6.0.7", - "react": "19.2.0", - "react-dom": "19.2.0", - "react-native": "0.83.2", - "react-native-safe-area-context": "~5.6.2", + "@bugsplat/react": "^2.1.1", + "@react-native-async-storage/async-storage": "2.2.0", + "expo": "~57.0.11", + "expo-blob": "~57.0.1", + "expo-build-properties": "~57.0.9", + "expo-clipboard": "~57.0.1", + "expo-document-picker": "~57.0.1", + "expo-file-system": "~57.0.2", + "expo-sensors": "~57.0.2", + "expo-system-ui": "~57.0.2", + "react": "19.2.3", + "react-dom": "19.2.3", + "react-native": "0.86.2", + "react-native-safe-area-context": "~5.7.0", "react-native-web": "~0.21.0" }, "devDependencies": { "@babel/core": "^7.20.0", "@bugsplat/symbol-upload": "^10.2.4", - "babel-preset-expo": "~55.0.8" + "babel-preset-expo": "~57.0.6" } } diff --git a/package.json b/package.json index 5bedfba..258db6c 100644 --- a/package.json +++ b/package.json @@ -33,23 +33,23 @@ "author": "BugSplat (https://bugsplat.com)", "license": "MIT", "homepage": "https://github.com/BugSplat-Git/bugsplat-expo#readme", - "dependencies": { - "@bugsplat/react": "^2.1.1", - "expo-blob": "^55.0.13" - }, "devDependencies": { - "@types/react": "~19.1.1", - "expo": "~55.0.8", - "expo-module-scripts": "^55.0.2", - "jest-expo": "^55.0.11", - "react": "19.2.0", - "react-dom": "19.2.0", - "react-native": "0.83.2", + "@bugsplat/react": "^2.1.1", + "@types/react": "~19.2.10", + "expo": "~57.0.11", + "expo-blob": "~57.0.1", + "expo-module-scripts": "^56.0.3", + "jest-expo": "~57.0.3", + "react": "19.2.3", + "react-dom": "19.2.3", + "react-native": "0.86.2", "ts-jest": "^29.4.6" }, "peerDependencies": { + "@bugsplat/react": "^2.1.1", "@bugsplat/symbol-upload": "*", "expo": "*", + "expo-blob": "*", "react": "*", "react-native": "*" },