1
0
mirror of https://github.com/etesync/android synced 2024-12-23 15:18:14 +00:00

Use DEBUG_REMOTE_URL to also override the webUri.

Before this commit it was only used to override the api endpoint,
not it's also used to override the weburl. This is needed since we now
load the etesync website inside the app and not in an external web
browser.
This commit is contained in:
Tom Hacohen 2017-03-08 17:27:06 +00:00
parent baff2e886c
commit 83fde4b81d

View File

@ -26,7 +26,7 @@ public class Constants {
NOTIFICATION_TASK_SYNC = 12,
NOTIFICATION_PERMISSIONS = 20;
public static final Uri webUri = Uri.parse("https://www.etesync.com/");
public static final Uri webUri = Uri.parse((DEBUG_REMOTE_URL == null) ? "https://www.etesync.com/" : DEBUG_REMOTE_URL);
public static final Uri contactUri = Uri.parse("mailto:contact.app@etesync.com");
public static final Uri registrationUrl = webUri.buildUpon().appendEncodedPath("accounts/signup/").build();
public static final Uri reportIssueUri = Uri.parse("https://github.com/etesync/android/issues");