qinkangwu / rn-typescript-reacthooks-boilerplate

rn-typescript-reacthooks-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rn-typescript-reacthooks-boilerplate

 yarn install && mkdir ~/.rncache && ./node_modules/react-native/scripts/ios-install-third-party.sh && react-native run-ios 

xcode10启动正常,11会报错,解决办法是需要修改node_modules里面react-native/React/Base/RCTModuleMethod.mm文件的 static BOOL RCTParseUnused这个方法

 static BOOL RCTParseUnused(const char **input)
 {
   return RCTReadString(input, "__attribute__((unused))") ||
          RCTReadString(input, "__attribute__((__unused__))") ||
          RCTReadString(input, "__unused");
 }

ios13深色模式 StatusBar content无效问题

解决办法:facebook/react-native#26619 (comment)

About

rn-typescript-reacthooks-boilerplate


Languages

Language:TypeScript 49.4%Language:Objective-C 22.9%Language:Java 11.6%Language:Python 11.4%Language:JavaScript 4.6%