diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f2f14a..0629c4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## v2.10.0-SNAPSHOT * Updated to Kotlin 1.9 +* Deprecated `renderTemplateUrl` for show recommendations +* Fix dom storage for Piano ID * Updated dependencies: - Kotlin [1.8.22 -> 1.9.23] - com.facebook.android:facebook-login [16.3.0 -> 17.0.0] diff --git a/composer-c1x/src/main/java/io/piano/android/composer/c1x/WidgetJs.kt b/composer-c1x/src/main/java/io/piano/android/composer/c1x/WidgetJs.kt index 3014854..3895402 100644 --- a/composer-c1x/src/main/java/io/piano/android/composer/c1x/WidgetJs.kt +++ b/composer-c1x/src/main/java/io/piano/android/composer/c1x/WidgetJs.kt @@ -14,7 +14,7 @@ public class WidgetJs( public val widgetId: String, @get:JavascriptInterface public val siteId: String, - @get:JavascriptInterface + @Deprecated("Will be removed in next releases") public val renderTemplateUrl: String = "auto", ) : BaseJsInterface() { diff --git a/id/id/src/main/java/io/piano/android/id/PianoIdActivity.kt b/id/id/src/main/java/io/piano/android/id/PianoIdActivity.kt index 62472ca..808e485 100644 --- a/id/id/src/main/java/io/piano/android/id/PianoIdActivity.kt +++ b/id/id/src/main/java/io/piano/android/id/PianoIdActivity.kt @@ -69,8 +69,11 @@ public class PianoIdActivity : AppCompatActivity(), PianoIdJsInterface { with(binding) { webview.apply { savedInstanceState?.let { restoreState(it) } - settings.javaScriptEnabled = true - settings.setSupportMultipleWindows(true) + settings.apply { + javaScriptEnabled = true + domStorageEnabled = true + setSupportMultipleWindows(true) + } webChromeClient = object : WebChromeClient() { override fun onProgressChanged(view: WebView, newProgress: Int) { super.onProgressChanged(view, newProgress)