Commit c9f68abb authored by Jesse Gruver (piajesse)'s avatar Jesse Gruver (piajesse)
Browse files

disabled updatechecker and updated version number for googleplay

parent 21e248eb
Pipeline #5431 passed with stage
in 5 minutes and 24 seconds
......@@ -29,7 +29,7 @@ if (crashlyticsEnabled()) {
def gitBranch = new ByteArrayOutputStream()
task getGitVersion() {
def gitVersion = "4.5.6.3"
def gitVersion = "4.5.6.4"
def gitVersionStream = new ByteArrayOutputStream()
def gitCommitsCount = new ByteArrayOutputStream()
def gitCommitHash = new ByteArrayOutputStream()
......@@ -89,7 +89,7 @@ android {
defaultConfig {
minSdkVersion 23
targetSdkVersion 30
versionCode 4563
versionCode 4564
versionName "${project.version}"
applicationId getPackageName()
}
......
......@@ -208,7 +208,7 @@ class DialerFragment : SecureFragment<DialerFragmentBinding>() {
val browserIntent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
startActivity(browserIntent)
dialog.dismiss()
}, getString(R.string.dialog_ok))
}, "Check Play Store")
dialog.show()
}
......
......@@ -129,19 +129,19 @@ class DialerViewModel : LogsUploadViewModel() {
}
}
override fun onVersionUpdateCheckResultReceived(
core: Core,
result: VersionUpdateCheckResult,
version: String?,
url: String?
) {
if (result == VersionUpdateCheckResult.NewVersionAvailable) {
Log.i("[Dialer] Update available, version [$version], url [$url]")
if (url != null && url.isNotEmpty()) {
updateAvailableEvent.value = Event(url)
}
}
}
// override fun onVersionUpdateCheckResultReceived(
// core: Core,
// result: VersionUpdateCheckResult,
// version: String?,
// url: String?
// ) {
// if (result == VersionUpdateCheckResult.NewVersionAvailable) {
// Log.i("[Dialer] Update available, version [$version], url [$url]")
// if (url != null && url.isNotEmpty()) {
// updateAvailableEvent.value = Event(url)
// }
// }
// }
}
init {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment