expo / router

[ARCHIVE]: Expo Router has moved to expo/expo -- The File-based router for universal React Native apps

Home Page:https://docs.expo.dev/routing/introduction/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[expo-router-v2 demo app / instructions unclear] Expo SDK 48 version used in router/apps/demo but SDK 49 recommended for

HunterSides opened this issue · comments

Which package manager are you using? (Yarn is recommended)

None

Summary

Expo SDK 48 is being used in demo in the RouterV2 demo router-demo

However stated Expo SDK 49 is needed in multiple places

If intentional there may need to be additional documentation somewhere stating that 48 is indeed compatible beacause currently this may be a bit misleading, especially to anyone following the expo-sdk-49-blog-post and attempting to run the demo app
Router_V2
Routing_installation

Minimal reproducible example

apps/demo/package.json

{
  "name": "expo-router-demo",
  "version": "1.0.0",
  "main": "index",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "test": "expo-module test",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
    "@react-native-async-storage/async-storage": "~1.17.3",
    "@react-navigation/drawer": "^6.4.4",
    "expo": "^48.0.0",
    "expo-auth-session": "~4.0.3",
    "expo-random": "~13.1.1",
    "expo-router": "2.0.0",
    "expo-secure-store": "~12.1.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.71.3",
    "react-native-gesture-handler": "~2.9.0",
    "react-native-reanimated": "~2.14.4",
    "react-native-safe-area-context": "4.5.0",
    "react-native-screens": "~3.20.0",
    "react-native-web": "~0.18.7",
    "typescript": "^4.6.3"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/preset-typescript": "^7.21.0",
    "@testing-library/react-native": "^12.0.1",
    "@types/react": "~18.0.0",
    "@types/react-native": "~0.69.1",
    "babel-plugin-transform-imports": "^2.0.0"
  },
  "private": true,
  "jest": {
    "preset": "jest-expo",
    "modulePathIgnorePatterns": [
      "<rootDir>/__tests__/setup"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/__tests__/setup.ts"
    ],
    "roots": [
      "."
    ]
  }
}