Skip to content

Commit

Permalink
Merge pull request #201 from superwall/develop
Browse files Browse the repository at this point in the history
1.4.0-beta.3
  • Loading branch information
ianrumac authored Nov 7, 2024
2 parents 4216e0c + 5c1b48c commit b63bc36
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The changelog for `Superwall`. Also see the [releases](https://github.com/superwall/Superwall-Android/releases) on GitHub.

## 1.4.0-beta.3

- Fixes issue where paywalls without fallback would fail to load and missing resource would cause a failure event

## 1.4.0-beta.2

## Enhancements
Expand Down
2 changes: 1 addition & 1 deletion superwall/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ plugins {
id("signing")
}

version = "1.4.0-beta.2"
version = "1.4.0-beta.3"

android {
compileSdk = 34
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ class PaywallView(
if (useMultipleUrls) {
webView.loadPaywallWithFallbackUrl(paywall)
} else {
webView.loadUrl(url.toString())
webView.loadUrl(url.value)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ internal open class DefaultWebviewClient(
request: WebResourceRequest?,
errorResponse: WebResourceResponse?,
) {
val requestUrl = request?.url.toString()
if (requestUrl.contains("favicon.ico")) {
return
}
ioScope.launch {
webviewClientEvents.emit(
WebviewClientEvent.OnError(
Expand Down

0 comments on commit b63bc36

Please sign in to comment.