Skip to content

Commit e319903

Browse files
committed
fixed ios iocons and pod issues
1 parent 7ad51ce commit e319903

File tree

11 files changed

+652
-15
lines changed

11 files changed

+652
-15
lines changed

App/navigation.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {createBottomTabNavigator} from 'react-navigation-tabs';
88
import LoginScreen from './containers/login/index';
99
import AboutScreen from './containers/about/index';
1010
import ProfileScreen from './containers/profile/index';
11-
import Ionicons from 'react-native-vector-icons/Ionicons';
11+
import Icon from 'react-native-vector-icons/Ionicons';
1212
import {SidemenuScreen} from './containers/sideMenu/index.js';
1313
import {View, Text} from 'react-native';
1414
import NavigationAction from './utils/navigationService';
@@ -68,7 +68,7 @@ const TabBarNavigator = createBottomTabNavigator(
6868
// You can return any component that you like here! We usually use an
6969
// icon component from react-native-vector-icons
7070
return (
71-
<Ionicons
71+
<Icon
7272
name={iconName}
7373
size={focused ? 26 : 22}
7474
color={tintColor}
@@ -89,6 +89,7 @@ class LoadingScreen extends PureComponent {
8989
constructor(props) {
9090
super(props);
9191
this._bootstrap();
92+
console.ignoredYellowBox = ['Warning: `-[RCTRootView cancelTouches]`'];
9293
}
9394
async _bootstrap() {
9495
const apiKey = await storageService.getApiKey();

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @format
33
*/
4-
4+
import 'react-native-gesture-handler';
55
import {AppRegistry} from 'react-native';
66
import App from './App/App';
77
import {name as appName} from './app.json';

ios/Podfile

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ target 'ReactNativeBoilerplate' do
3333
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
3434
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
3535
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
36+
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
3637

3738
target 'ReactNativeBoilerplateTests' do
3839
inherit! :search_paths

0 commit comments

Comments
 (0)