React Native

First struggles

There are couple of them. As soon as you start developing, very soon you will find either one or all of these.

iphone “Command /bin/sh failed with exit code 1” Fix it.

this.setState is undefined in React ES6 class Fix it refer this too.

iphone “running on device”

Fix it, by changing the “localhost” to “ip address” of the dev machine in AppDelegate.m

android “running on device”

Fix it, by setting the “ip address” of the dev machine in side the application settings

Show your support

Clapping shows how much you appreciated Saumya’s story.