Skip to content

Example of the new network inspector #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
android: {
enableProguardInReleaseBuilds: true,
enableShrinkResourcesInReleaseBuilds: true,
unstable_networkInspector: true,
},
ios: {
unstable_networkInspector: true,
},
},
],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "4.0.2",
"private": true,
"scripts": {
"start": "expo start --dev-client",
"start": "cross-env EXPO_USE_CUSTOM_INSPECTOR_PROXY=true expo start --dev-client",
"build:local:ios": "cross-env EAS_LOCAL_BUILD_ARTIFACTS_DIR=build eas build --profile development -p ios --local",
"build:local:android": "cross-env EAS_LOCAL_BUILD_ARTIFACTS_DIR=build eas build --profile development -p android --local",
"build:dev": "eas build --profile development",
Expand Down Expand Up @@ -45,7 +45,7 @@
"@tanstack/react-query": "^4.19.1",
"axios": "^1.2.1",
"date-fns": "^2.29.2",
"expo": "^48.0.0",
"expo": "^48.0.16",
"expo-application": "~5.1.1",
"expo-build-properties": "~0.6.0",
"expo-constants": "~14.2.1",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5362,10 +5362,10 @@ [email protected], "expo-modules-autolinking@~1.1.0 || ~1.2.0":
find-up "^5.0.0"
fs-extra "^9.1.0"

[email protected].6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/expo-modules-core/-/expo-modules-core-1.2.6.tgz#921abc8031fe0e5474ee48905071902b9627d051"
integrity sha512-vyleKepkP8F6L+D55B/E4FbZ8x9pdy3yw/mdbGBkDkrmo2gmeMjOM1mKLSszOkLIqet05O7Wy8m0FZHZTo0VBg==
[email protected].7:
version "1.2.7"
resolved "https://registry.yarnpkg.com/expo-modules-core/-/expo-modules-core-1.2.7.tgz#c80627b13a8f1c94ae9da8eea41e1ef1df5788c8"
integrity sha512-sulqn2M8+tIdxi6QFkKppDEzbePAscgE2LEHocYoQOgHxJpeT7axE0Hkzc+81EeviQilZzGeFZMtNMGh3c9yJg==
dependencies:
compare-versions "^3.4.0"
invariant "^2.2.4"
Expand Down Expand Up @@ -5410,10 +5410,10 @@ expo-updates@~0.16.4:
fbemitter "^3.0.0"
resolve-from "^5.0.0"

expo@^48.0.0:
version "48.0.15"
resolved "https://registry.yarnpkg.com/expo/-/expo-48.0.15.tgz#28194c03ac85f7f5a87b7493b8cef0eb405eccbe"
integrity sha512-me2Xxr7Faxf60BiKq8WBSwkYV9BVbS+VqeHRFdXduVA0Uj2zp1a0zYB5eblmWqpRco75VBUgOa9M+/eR1YVZmw==
expo@^48.0.16:
version "48.0.16"
resolved "https://registry.yarnpkg.com/expo/-/expo-48.0.16.tgz#afce3906eba8d0faa72f6e0e1c8aed4f1b046326"
integrity sha512-3LOfO80FZn+K3NngaP80LC2KE4rQcuzF3hQB6k8877A3Y/UPF5jmr8H7jlRrfvWSaYlenwzHhMs6Lyhr3zwfGw==
dependencies:
"@babel/runtime" "^7.20.0"
"@expo/cli" "0.7.1"
Expand All @@ -5429,7 +5429,7 @@ expo@^48.0.0:
expo-font "~11.1.1"
expo-keep-awake "~12.0.1"
expo-modules-autolinking "1.2.0"
expo-modules-core "1.2.6"
expo-modules-core "1.2.7"
fbemitter "^3.0.0"
getenv "^1.0.0"
invariant "^2.2.4"
Expand Down