alinz / react-native-tabbar

Tab bar with more freedom
MIT License
265 stars 49 forks source link

How can I run Example? #19

Closed AAG81 closed 8 years ago

AAG81 commented 8 years ago

Hi How can I run the example code without copy/pase Codes? Thanks

alinz commented 8 years ago

@AAG81 you simply clone the project, go to example/WithIcons folder. run npm install and either run react-native run-android to run on your android simulator or open ios/WithIcons.xcodeproj with xcode and run it there.

AAG81 commented 8 years ago

Thanks a lot example works fine in android but I have 2 problem in iOS 1- I can't simply type react-native run-iso I should open XCODE overtime 2- icomoon is missing in IOS build

AAG81 commented 8 years ago

I followed the instruction https://medium.com/@dabit3/adding-custom-fonts-to-react-native-b266b41bff7f#.x0vycwg9t and add font to Xcode and it solved the font problem. But I can't run project without opening Xcode.

alinz commented 8 years ago

I have also document how to use custom font and icons in this repo.

What do you mean by can't run the project without opening Xcode?

if you upgrade the react-native to 0.19, it should be possible to simply run react-native run-ios inside the example or project to run it without xcode.

AAG81 commented 8 years ago

Thank you I should update the project to 0.19 I have done it with this command npm install --save react-native@0.19