Мои установленные пакеты (от package-lock.json и package.json (пакеты точно такие же): < /p>
"@react-navigation/native": "^3.8.4",
"expo": "~42.0.1",
"expo-barcode-scanner": "~10.2.2",
"expo-splash-screen": "~0.11.2",
"expo-status-bar": "~1.0.4",
"expo-updates": "~0.8.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "~0.63.4",
"react-native-camera": "^4.0.0",
"react-native-gesture-handler": "~1.10.2",
"react-native-reanimated": "~2.2.0",
"react-native-screens": "~3.4.0",
"react-native-unimodules": "~0.14.5",
"react-native-web": "~0.13.12",
"react-navigation": "^4.4.4",
"react-navigation-stack": "^2.10.4"
< /code>
Я также удалил маршрутизацию из app.js и заменил ее на базовый код, но она все еще не работает: < /p>
import React from 'react';
import { Text, View } from 'react-native';
const YourApp = () => {
return (
Try editing me!
);
}
export default YourApp;
Подробнее здесь: https://stackoverflow.com/questions/685 ... real-phone