wghglory / rn-first

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guidance

Whenever installing any npm package, run pod install in ios folder.

Installation Issues in China

ios/Podfile

+ source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'

platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

target 'AwesomeProject' do
+  pod 'boost-for-react-native', :git => 'https://gitee.com/damon-s/boost-for-react-native.git'

Run application

# ios run

cd AwesomeProject
yarn ios

# 或者
yarn react-native run-ios

# 用 xcode 打开 ios/AwesomeProject.xcworkspace
# android run

cd AwesomeProject
yarn android
# 或者
yarn react-native run-android

Use font awesome and other vector

refer

ios-font

After removing those, xcode runs shift + cmd + k clean build and cmd + b build again.

yarn add react-native-vector-icons  # https://oblador.github.io/react-native-vector-icons

Screenshots

About


Languages

Language:JavaScript 81.6%Language:Objective-C 7.4%Language:Ruby 5.3%Language:Java 4.7%Language:Starlark 1.1%