title: React native usage with development / production ios target apps
body: <p>I've been reading about how to separate your development builds from production i.e. use different environments / databases etc. where this post proved to be very useful: <a href="http://www.appcoda.com/using-xcode-targets" rel="nofollow noreferrer">http://www.appcoda.com/using-xcode-targets</a></p>
  
  <p>But I am struggling with figuring out how to take advantage of this when building react native apps. i.e. what are the steps that need to be taken in xCode and javascript source? Do we get access to some sort of global that can be checked what target is running etc..</p>
  
  <p>I wasn't able to find good article on this for react native so if you have experience with setting these different environments or can link to a good source, please let me know.</p>