Skip to content

Commit

Permalink
finished upgrading to expo SDK 35.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwan01 committed Apr 13, 2020
1 parent 4cc77e2 commit 43474d0
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ node_modules
.expo
.expo-shared
.vscode
.DS_Store
**/.DS_Store
5 changes: 4 additions & 1 deletion App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import React from 'react';
import { Platform, StatusBar, StyleSheet, View } from 'react-native';
import { AppLoading, Asset, Font, Icon } from 'expo';
import { AppLoading } from 'expo';
import * as Icon from '@expo/vector-icons'
import * as Font from 'expo-font';
import { Asset } from 'expo-asset';
import AppNavigator from './navigation/AppNavigator';

export default class App extends React.Component {
Expand Down
4 changes: 2 additions & 2 deletions components/TabBarIcon.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';
import { Icon } from 'expo';
import { Ionicons } from '@expo/vector-icons';

import Colors from '../constants/Colors';

export default class TabBarIcon extends React.Component {
render() {
return (
<Icon.Ionicons
<Ionicons
name={this.props.name}
size={26}
style={{ marginBottom: -3 }}
Expand Down
39 changes: 39 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,19 @@
"react-native-animatable": "^1.3.1",
"react-native-camera": "^1.12.0",
"react-native-elements": "^1.1.0",
"react-native-gesture-handler": "^1.3.0",
"react-native-image-picker": "^0.28.0",
"react-native-loading-spinner-overlay": "^1.0.1",
"react-native-material-ui": "^1.30.1",
"react-native-md-motion-buttons": "^1.1.0",
"react-native-paper": "^2.12.0",
"react-native-screens": "~1.0.0-alpha.23",
"react-native-touchable-scale": "^2.0.0",
"react-navigation": "^3.0.9",
"react-overlay-loading": "^1.0.3"
"react-navigation": "^3.13.0",
"react-overlay-loading": "^1.0.3",
"expo-camera": "~7.0.0",
"expo-asset": "~7.0.0",
"expo-permissions": "~7.0.0"
},
"devDependencies": {
"babel-preset-expo": "^7.0.0",
Expand Down
3 changes: 2 additions & 1 deletion screens/CameraScreen.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import { Text, View, TouchableOpacity, StyleSheet } from 'react-native';
import { Camera, Permissions } from 'expo';
import { Camera } from 'expo-camera';
import * as Permissions from 'expo-permissions';
import { Icon } from 'react-native-elements';
import Spinner from 'react-native-loading-spinner-overlay';
const axios = require("axios");
Expand Down
2 changes: 1 addition & 1 deletion screens/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
StatusBar,
} from 'react-native';
import { Input, SearchBar, Icon, Button } from 'react-native-elements';
import { Font } from 'expo';
import * as Font from 'expo-font';
import { TextInput } from 'react-native-paper';


Expand Down

0 comments on commit 43474d0

Please sign in to comment.