1fa822585SJesse Ruder package host.exp.exponent.generated;
2fa822585SJesse Ruder 
396f02744SJesse Ruder import com.facebook.common.internal.DoNotStrip;
496f02744SJesse Ruder 
5fa822585SJesse Ruder import java.util.ArrayList;
6fa822585SJesse Ruder import java.util.List;
7fa822585SJesse Ruder 
8*55092376SBartłomiej Bukowski import expo.modules.splashscreen.SplashScreenImageResizeMode;
9236bbff4SJesse Ruder import host.exp.exponent.BuildConfig;
10fa822585SJesse Ruder import host.exp.exponent.Constants;
11fa822585SJesse Ruder 
1296f02744SJesse Ruder @DoNotStrip
13fa822585SJesse Ruder public class AppConstants {
14fa822585SJesse Ruder 
15fa822585SJesse Ruder   public static final String VERSION_NAME = null;
16fa822585SJesse Ruder   public static String INITIAL_URL = null;
17fa822585SJesse Ruder   public static final String SHELL_APP_SCHEME = null;
18fa822585SJesse Ruder   public static final String RELEASE_CHANNEL = "default";
19fa822585SJesse Ruder   public static boolean SHOW_LOADING_VIEW_IN_SHELL_APP = false;
2030fccd70SEric Samelson   public static boolean ARE_REMOTE_UPDATES_ENABLED = true;
21734a9caaSEric Samelson   public static boolean UPDATES_CHECK_AUTOMATICALLY = true;
22734a9caaSEric Samelson   public static int UPDATES_FALLBACK_TO_CACHE_TIMEOUT = 0;
23fa822585SJesse Ruder   public static final List<Constants.EmbeddedResponse> EMBEDDED_RESPONSES;
24a44b8a65SJames Ide   public static boolean FCM_ENABLED = true;
25*55092376SBartłomiej Bukowski   public static SplashScreenImageResizeMode SPLASH_SCREEN_IMAGE_RESIZE_MODE = SplashScreenImageResizeMode.CONTAIN;
26fa822585SJesse Ruder 
27fa822585SJesse Ruder   static {
28fa822585SJesse Ruder     List<Constants.EmbeddedResponse> embeddedResponses = new ArrayList<>();
29fa822585SJesse Ruder 
30fa822585SJesse Ruder     // ADD EMBEDDED RESPONSES HERE
31fa822585SJesse Ruder     // START EMBEDDED RESPONSES
32fa822585SJesse Ruder     // END EMBEDDED RESPONSES
33fa822585SJesse Ruder     EMBEDDED_RESPONSES = embeddedResponses;
34fa822585SJesse Ruder   }
35fa822585SJesse Ruder 
36fa822585SJesse Ruder   // Called from expoview/Constants
get()37fa822585SJesse Ruder   public static Constants.ExpoViewAppConstants get() {
38fa822585SJesse Ruder     Constants.ExpoViewAppConstants constants = new Constants.ExpoViewAppConstants();
39fa822585SJesse Ruder     constants.VERSION_NAME = VERSION_NAME;
40fa822585SJesse Ruder     constants.INITIAL_URL = INITIAL_URL;
41fa822585SJesse Ruder     constants.SHELL_APP_SCHEME = SHELL_APP_SCHEME;
42fa822585SJesse Ruder     constants.RELEASE_CHANNEL = RELEASE_CHANNEL;
43fa822585SJesse Ruder     constants.SHOW_LOADING_VIEW_IN_SHELL_APP = SHOW_LOADING_VIEW_IN_SHELL_APP;
4430fccd70SEric Samelson     constants.ARE_REMOTE_UPDATES_ENABLED = ARE_REMOTE_UPDATES_ENABLED;
45734a9caaSEric Samelson     constants.UPDATES_CHECK_AUTOMATICALLY = UPDATES_CHECK_AUTOMATICALLY;
46734a9caaSEric Samelson     constants.UPDATES_FALLBACK_TO_CACHE_TIMEOUT = UPDATES_FALLBACK_TO_CACHE_TIMEOUT;
47fa822585SJesse Ruder     constants.EMBEDDED_RESPONSES = EMBEDDED_RESPONSES;
48236bbff4SJesse Ruder     constants.ANDROID_VERSION_CODE = BuildConfig.VERSION_CODE;
4946664d58SJesse Ruder     constants.FCM_ENABLED = FCM_ENABLED;
50*55092376SBartłomiej Bukowski     constants.SPLASH_SCREEN_IMAGE_RESIZE_MODE = SPLASH_SCREEN_IMAGE_RESIZE_MODE;
51fa822585SJesse Ruder     return constants;
52fa822585SJesse Ruder   }
53fa822585SJesse Ruder }
54