Skip to content

Fyee/Ihome-react-native

Repository files navigation

Ihome React Native

React Native This app implemented by React Native,support android and ios,not use any api,just a UI display app.If you like this project please give me a star.

Dependencies

Run App

git clone https://github.com/Fyee/Ihome-react-native.git
cd Ihome-react-native && yarn install
react-native link
npx http-server ./js/static -p 8888
  • IOS: I recommend using Xcode to open ios/ihome_v3.xcodeproj and build run.
  • Android: I recommend using Android studio to open android folder.

Use http-server to proxy image file(/js/static folder),if you want running on phone, update js/common/const/Consts.js BaseUrl={your proxy ip address and port},make sure your laptop and your phone are on the same Wi-Fi network.

If you don't want proxy images file you can use remote ip address http://118.25.107.188:8888 to replace BaseUrl, but is not quickly ,so i recommend using http-sever to proxy static folder.

Screenshot

License

MIT License