1 package host.exp.exponent.generated; 2 3 import com.facebook.common.internal.DoNotStrip; 4 5 import java.util.ArrayList; 6 import java.util.List; 7 8 import host.exp.exponent.BuildConfig; 9 import host.exp.exponent.Constants; 10 11 @DoNotStrip 12 public class AppConstants { 13 14 public static final String VERSION_NAME = null; 15 public static String INITIAL_URL = null; 16 public static final boolean IS_DETACHED = false; 17 public static final String SHELL_APP_SCHEME = null; 18 public static final String RELEASE_CHANNEL = "default"; 19 public static boolean SHOW_LOADING_VIEW_IN_SHELL_APP = false; 20 public static final List<Constants.EmbeddedResponse> EMBEDDED_RESPONSES; 21 22 static { 23 List<Constants.EmbeddedResponse> embeddedResponses = new ArrayList<>(); 24 25 // ADD EMBEDDED RESPONSES HERE 26 // START EMBEDDED RESPONSES 27 // END EMBEDDED RESPONSES 28 EMBEDDED_RESPONSES = embeddedResponses; 29 } 30 31 // Called from expoview/Constants 32 public static Constants.ExpoViewAppConstants get() { 33 Constants.ExpoViewAppConstants constants = new Constants.ExpoViewAppConstants(); 34 constants.VERSION_NAME = VERSION_NAME; 35 constants.INITIAL_URL = INITIAL_URL; 36 constants.IS_DETACHED = IS_DETACHED; 37 constants.SHELL_APP_SCHEME = SHELL_APP_SCHEME; 38 constants.RELEASE_CHANNEL = RELEASE_CHANNEL; 39 constants.SHOW_LOADING_VIEW_IN_SHELL_APP = SHOW_LOADING_VIEW_IN_SHELL_APP; 40 constants.EMBEDDED_RESPONSES = EMBEDDED_RESPONSES; 41 constants.ANDROID_VERSION_CODE = BuildConfig.VERSION_CODE; 42 return constants; 43 } 44 } 45