Moved hardcoded URLs to a constant file Fixed #2850 (#2851)

* Moved hardcoded URLs to build.grade Fixed #2850

* Moved Urls to a constant file

* Fixed Typo
This commit is contained in:
Madhur Gupta 2019-05-10 17:39:32 +05:30 committed by neslihanturan
parent a4ac27d5d3
commit 5d827e44ae
4 changed files with 38 additions and 16 deletions

View file

@ -0,0 +1,14 @@
package fr.free.nrw.commons;
class Urls {
static final String NEW_ISSUE_URL = "https://github.com/commons-app/apps-android-commons/issues";
static final String GITHUB_REPO_URL = "https://github.com/commons-app/apps-android-commons";
static final String WEBSITE_URL = "https://commons-app.github.io";
static final String CREDITS_URL = "https://github.com/commons-app/apps-android-commons/blob/master/CREDITS";
static final String FAQ_URL = "https://github.com/commons-app/apps-android-commons/wiki/Frequently-Asked-Questions";
static final String PLAY_STORE_URL = "https://play.google.com/store/apps/details?id=fr.free.nrw.commons";
static final String TRANSLATE_WIKI_URL = "https://translatewiki.net/w/i.php?title=Special:Translate&group=commons-android-strings&filter=%21translated&action=translate&language=";
static final String FACEBOOK_WEB_URL = "https://www.facebook.com/1921335171459985";
static final String FACEBOOK_APP_URL = "fb://page/1921335171459985";
static final String FACEBOOK_PACKAGE_NAME = "com.facebook.katana";
}