Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
504a73ee6c | |||
24e4870baf |
@ -23,13 +23,16 @@ android {
|
||||
testApplicationId "io.github.tests.wulkanowy"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 28
|
||||
versionCode 19
|
||||
versionName "0.6.0"
|
||||
versionCode 20
|
||||
versionName "0.6.1"
|
||||
multiDexEnabled true
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
playAccountConfig = playAccountConfigs.defaultAccountConfig
|
||||
manifestPlaceholders = [crashlytics_enabled: project.hasProperty("enableCrashlytics")]
|
||||
manifestPlaceholders = [
|
||||
fabric_api_key: System.getenv("FABRIC_API_KEY") ?: "null",
|
||||
crashlytics_enabled: project.hasProperty("enableCrashlytics")
|
||||
]
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
@ -71,7 +74,7 @@ androidExtensions {
|
||||
|
||||
play {
|
||||
track = 'alpha'
|
||||
uploadImages = true
|
||||
uploadImages = false
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
|
@ -62,6 +62,9 @@
|
||||
android:resource="@xml/provider_widget_timetable" />
|
||||
</receiver>
|
||||
|
||||
<meta-data
|
||||
android:name="io.fabric.ApiKey"
|
||||
android:value="${fabric_api_key}" />
|
||||
<meta-data
|
||||
android:name="firebase_crashlytics_collection_enabled"
|
||||
android:value="${crashlytics_enabled}" />
|
||||
|
@ -57,16 +57,18 @@ class LoginFormPresenter @Inject constructor(
|
||||
if (it.isEmpty() && !wasEmpty) {
|
||||
showSymbolInput()
|
||||
wasEmpty = true
|
||||
analytics.logEvent("sign_up_send", mapOf(SUCCESS to false, "students" to 0, "endpoint" to endpoint, GROUP_ID to symbol.ifEmpty { "null" }))
|
||||
} else if (it.isEmpty() && wasEmpty) {
|
||||
showSymbolInput()
|
||||
setErrorSymbolIncorrect()
|
||||
analytics.logEvent(SIGN_UP, mapOf(SUCCESS to false, "students" to it.size, "endpoint" to endpoint, GROUP_ID to symbol.ifEmpty { "nil" }))
|
||||
analytics.logEvent("sign_up_send", mapOf(SUCCESS to false, "students" to it.size, "endpoint" to endpoint, GROUP_ID to symbol.ifEmpty { "nil" }))
|
||||
} else {
|
||||
analytics.logEvent("sign_up_send", mapOf(SUCCESS to true, "students" to it.size, "endpoint" to endpoint, GROUP_ID to symbol))
|
||||
switchOptionsView()
|
||||
}
|
||||
}
|
||||
}, {
|
||||
analytics.logEvent(SIGN_UP, mapOf(SUCCESS to true, "endpoint" to endpoint, GROUP_ID to symbol.ifEmpty { "nil" }))
|
||||
analytics.logEvent(SIGN_UP, mapOf(SUCCESS to false, "endpoint" to endpoint, "message" to it.localizedMessage, GROUP_ID to symbol.ifEmpty { "nil" }))
|
||||
errorHandler.dispatch(it)
|
||||
}))
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ class LoginOptionsPresenter @Inject constructor(
|
||||
}
|
||||
}
|
||||
.subscribe({
|
||||
analytics.logEvent(SIGN_UP, mapOf(SUCCESS to true, "students" to 1, "endpoint" to student.endpoint, GROUP_ID to student.symbol))
|
||||
analytics.logEvent(SIGN_UP, mapOf(SUCCESS to true, "endpoint" to student.endpoint, "message" to "Success", GROUP_ID to student.symbol))
|
||||
view?.openMainView()
|
||||
}, {
|
||||
errorHandler.dispatch(it)
|
||||
|
@ -34,7 +34,6 @@ allprojects {
|
||||
mavenCentral()
|
||||
google()
|
||||
jcenter()
|
||||
maven { url 'https://maven.fabric.io/public'}
|
||||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user