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 String SHELL_APP_SCHEME = null;
17   public static final String RELEASE_CHANNEL = "default";
18   public static boolean SHOW_LOADING_VIEW_IN_SHELL_APP = false;
19   public static boolean ARE_REMOTE_UPDATES_ENABLED = true;
20   public static final List<Constants.EmbeddedResponse> EMBEDDED_RESPONSES;
21   public static boolean FCM_ENABLED = true;
22 
23   static {
24     List<Constants.EmbeddedResponse> embeddedResponses = new ArrayList<>();
25 
26     // ADD EMBEDDED RESPONSES HERE
27     // START EMBEDDED RESPONSES
28     // END EMBEDDED RESPONSES
29     EMBEDDED_RESPONSES = embeddedResponses;
30   }
31 
32   // Called from expoview/Constants
33   public static Constants.ExpoViewAppConstants get() {
34     Constants.ExpoViewAppConstants constants = new Constants.ExpoViewAppConstants();
35     constants.VERSION_NAME = VERSION_NAME;
36     constants.INITIAL_URL = INITIAL_URL;
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.ARE_REMOTE_UPDATES_ENABLED = ARE_REMOTE_UPDATES_ENABLED;
41     constants.EMBEDDED_RESPONSES = EMBEDDED_RESPONSES;
42     constants.ANDROID_VERSION_CODE = BuildConfig.VERSION_CODE;
43     constants.FCM_ENABLED = FCM_ENABLED;
44     return constants;
45   }
46 }
47