thinknimble/tn-spa-bootstrapper

Update check whether or not we are in a build or expo go

Opened this issue · 0 comments

// Config.js

import Constants, { ExecutionEnvironment }  from 'expo-constants'
const isExpoGo = Constants.executionEnvironment === ExecutionEnvironment.StoreClient;

...

const ENV = () => {
  if (!isExpoGo) {