Skip to content

Instantly share code, notes, and snippets.

@EugeneShapovalov94
Created October 15, 2017 13:16
Show Gist options
  • Save EugeneShapovalov94/f1e0bde514b121e1fe4e5891afd3ea95 to your computer and use it in GitHub Desktop.
Save EugeneShapovalov94/f1e0bde514b121e1fe4e5891afd3ea95 to your computer and use it in GitHub Desktop.
/**
* This logic is temporary because of server,
* so we have to use hardcode instead of value from {@link AOProxyUrl#GET_API_DEPLOY_BASE_URL}.
*
* @return AON = www.econumysecure.com, Chatfoss/SyncedUp/SecuredPortal = secure-comm.com.
*/
@NonNull
private static String composeTempThemePreloadUrl() {
if (BuildConfig.FLAVOR.equals("dev")) {
return "www.econumysecure.com";
} else {
return "secure-comm.com";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment