Upgrade to Expo SDK 45

This commit is contained in:
Nat 2022-05-09 16:00:47 -07:00
parent b305c3d847
commit f74544634b
5 changed files with 10472 additions and 8579 deletions

View File

@ -11,8 +11,9 @@ module.exports = function(api) {
"assets": "./assets",
"src": "./src"
}
}
]
}
],
"react-native-reanimated/plugin"
]
};
};
};

18999
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,36 +8,36 @@
"eject": "expo eject"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.13.0",
"@react-native-community/masked-view": "0.1.10",
"@react-native-async-storage/async-storage": "~1.17.3",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/core": "^6.2.1",
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.2.1",
"expo": "^41.0.0",
"expo-image-picker": "~10.1.4",
"expo-linking": "~2.2.3",
"expo-status-bar": "~1.0.4",
"expo-web-browser": "~9.1.0",
"expo": "^45.0.0",
"expo-image-picker": "~13.1.1",
"expo-linking": "~3.1.0",
"expo-status-bar": "~1.3.0",
"expo-web-browser": "~10.2.0",
"mime": "^2.5.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz",
"react-native-gesture-handler": "~1.10.2",
"react-native-pager-view": "5.0.12",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-native": "https://github.com/expo/react-native/archive/sdk-45.0.0.tar.gz",
"react-native-gesture-handler": "~2.2.0",
"react-native-pager-view": "5.4.15",
"react-native-popup-menu": "^0.15.10",
"react-native-reanimated": "~2.1.0",
"react-native-reanimated": "~2.8.0",
"react-native-render-html": "^5.1.1",
"react-native-safe-area-context": "3.2.0",
"react-native-screens": "~3.0.0",
"react-native-safe-area-context": "4.2.4",
"react-native-screens": "~3.11.1",
"react-native-tab-view": "^2.16.0",
"react-native-web": "~0.13.12",
"react-navigation-stack": "^2.8.2"
"react-native-web": "0.17.7",
"react-navigation-stack": "^2.8.2",
"@react-native-masked-view/masked-view": "0.2.6"
},
"devDependencies": {
"@babel/core": "~7.9.0",
"@babel/core": "^7.12.9",
"babel-plugin-module-resolver": "^4.0.0",
"babel-preset-expo": "8.3.0"
"babel-preset-expo": "~9.1.0"
},
"private": true
}

View File

@ -1,6 +1,8 @@
import 'react-native-gesture-handler';
import React from "react";
import { LogBox } from "react-native";
import { createStackNavigator } from "@react-navigation/stack";
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
import { NavigationContainer } from "@react-navigation/native";
@ -27,6 +29,10 @@ import Notifications from 'src/components/pages/profile/notifications';
import UserList from "src/components/pages/user-list.js";
import Settings from "src/components/pages/profile/settings.js";
LogBox.ignoreLogs([
"[react-native-gesture-handler] Seems like you\'re using an old API with gesture components, check out new Gestures system!",
]);
const prefix = Linking.makeUrl("/");
const Tab = createBottomTabNavigator();

View File

@ -13,7 +13,6 @@ import { TouchableOpacity } from "react-native-gesture-handler";
import mime from "mime";
import * as ImagePicker from 'expo-image-picker';
import * as Permissions from "expo-permissions";
import AsyncStorage from "@react-native-async-storage/async-storage";
import * as requests from "src/requests";