react-native-responsive
react-native-responsive copied to clipboard
Cannot run example
I have tried the example project, but it does not run neither on Android, nor iOS.
On Android, the application builds, but then I get this: java.util.RuntimeException: SyntaxError: Strict mode does not allow function declarations in a lexically nested statement. (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:10403).
On iOS the application does not even pass the build process, XCode gives me 2 errors saying "Ignoring return value of function declared with 'warn_unused_result' attrubute", lines 494 and 1334 in RCTSRWebSocket.m.
Open RCTWebSocket project and remove all the flags in Build settings > Custom compiler flags
