mirror of
https://github.com/ethauvin/android-about-box.git
synced 2025-04-25 02:37:11 -07:00
Changed publisher URLs to https.
Workaround for invalid developer URL.
This commit is contained in:
parent
5cf889dd42
commit
5df77387e6
1 changed files with 3 additions and 2 deletions
|
@ -72,12 +72,13 @@ public final class AboutBoxUtils {
|
||||||
// see:
|
// see:
|
||||||
// https://developer.android.com/distribute/marketing-tools/linking-to-google-play.html#OpeningPublisher
|
// 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://stackoverflow.com/questions/32029408/how-to-open-developer-page-on-google-play-store-market
|
||||||
|
// https://issuetracker.google.com/65244694
|
||||||
if (publisher.matches("\\d+")) {
|
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;
|
appURI = webURI;
|
||||||
} else {
|
} else {
|
||||||
appURI = "market://search?q=pub:" + publisher;
|
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;
|
break;
|
||||||
case AMAZON:
|
case AMAZON:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue