|
|
@ -50,6 +50,7 @@ object SourceHelp { |
|
|
|
url ?: return false |
|
|
|
url ?: return false |
|
|
|
val baseUrl = NetworkUtils.getBaseUrl(url) |
|
|
|
val baseUrl = NetworkUtils.getBaseUrl(url) |
|
|
|
baseUrl ?: return false |
|
|
|
baseUrl ?: return false |
|
|
|
|
|
|
|
if (AppConfig.isGooglePlay) return false |
|
|
|
try { |
|
|
|
try { |
|
|
|
val host = baseUrl.split("//", ".") |
|
|
|
val host = baseUrl.split("//", ".") |
|
|
|
val base64Url = EncoderUtils.base64Encode("${host[host.lastIndex - 1]}.${host.last()}") |
|
|
|
val base64Url = EncoderUtils.base64Encode("${host[host.lastIndex - 1]}.${host.last()}") |
|
|
|