1
0
Fork 0
mirror of https://github.com/ethauvin/android-about-box.git synced 2025-04-24 18:27:11 -07:00

Changed publisher URLs to https.

Workaround for invalid developer URL.
This commit is contained in:
Erik C. Thauvin 2017-09-01 23:25:03 -07:00
parent 5cf889dd42
commit 5df77387e6

View file

@ -72,12 +72,13 @@ public final class AboutBoxUtils {
// see:
// https://developer.android.com/distribute/marketing-tools/linking-to-google-play.html#OpeningPublisher
// https://stackoverflow.com/questions/32029408/how-to-open-developer-page-on-google-play-store-market
// https://issuetracker.google.com/65244694
if (publisher.matches("\\d+")) {
webURI = "http://play.google.com/store/dev?id=" + publisher;
webURI = "https://play.google.com/store/apps/dev?id=" + publisher;
appURI = webURI;
} else {
appURI = "market://search?q=pub:" + publisher;
webURI = "http://play.google.com/store/search?q=pub:" + publisher;
webURI = "https://play.google.com/store/search?q=pub:" + publisher;
}
break;
case AMAZON: