Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repositories {
}

dependencies {
implementation("com.formbricks:android:2.0.0") // replace with latest version
implementation("com.formbricks:android:2.1.0") // replace with latest version
}
```

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
id("org.sonarqube") version "4.4.1.3373"
}

version = "2.0.0"
version = "2.1.0"
val groupId = "com.formbricks"
val artifactId = "android"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@ class WebAppInterface(private val callback: WebAppCallback?) {
fun onClose()
fun onDisplayCreated()
fun onResponseCreated()
fun onFinished()

/**
* Defaulted rather than abstract: [WebAppCallback] is public, so adding an abstract
* member would stop any existing implementor from compiling. Only the SDK implements
* this today, but that would make an additive change a breaking one.
*/
fun onFinished() {
// Intentionally empty. The default exists so implementors that predate this
// callback keep compiling; FormbricksFragment overrides it to do the real work.
}
fun onFilePick(data: FileUploadData)
fun onSurveyLibraryLoadError()
}
Expand Down
Loading