Skip to content

Releases: defold/extension-webview

WebView 1.5.0

01 Apr 05:57
ed38347
Compare
Choose a tag to compare

NEW: Added support for adding custom request headers when navigating within the webview:

local options = {
    headers = {
        ["Accept-Origin"] = "*",
        ["User-Agent"] = "Foobar 1.0",
    }
}
webview.open(self.webview_id, "https://www.google.com", options)

NEW: Added support for making the webview background transparent:

local id = webview.create(...)

-- two different ways to set the background color to transparent
webview.open(id, url, { transparent = true })
webview.set_transparent(id, true)

Cleanup Android implementation

11 Apr 06:31
83362d2
Compare
Choose a tag to compare
  • Remove CustomWebView class, unnecessary anymore?
  • softInputMode = Adjust Nothing to avoid layout adjusted when keyboard shown
  • systemUiVisibility deprecated on Api Level >= 30

Thanks @baochungit

Added support for arm64-macos

11 Jul 15:43
70c4f28
Compare
Choose a tag to compare

Now extension can be built for arm64-macos

Smaller mutex scope + use new SDK android methods (Defold 1.2.188)

31 Oct 21:00
d064ab0
Compare
Choose a tag to compare
  • Use smaller scope for the callback's mutex to avoid possible ANRs/Crashes
  • Use new Defold SDK API (1.2.188) for attaching VM thread and loading java class

WebView 1.4.5

12 Jan 07:31
91f3582
Compare
Choose a tag to compare

FIX: Web content with modals (date picker) didn't show on iOS. Thanks to @dapetcu21 !

WebView 1.4.4

25 Dec 15:02
6787db6
Compare
Choose a tag to compare

FIX: Escape string before passing it to eval on Android

WebView 1.4.3

17 Nov 19:55
9cef5d5
Compare
Choose a tag to compare

FIX: The game view would lose focus if the webview is destroyed while clicking on macOS

WebView 1.4.2

17 Nov 11:49
ccf98d9
Compare
Choose a tag to compare

FIX: Crash on extension shut down
FIX: Coordinate system is inverted on macOS compared to iOS

Fix for window frame calculation on macOS

17 Nov 07:20
627cfa2
Compare
Choose a tag to compare
1.4.1

Fix window frame calculation on macOS (#22)

Added support for macOS

08 Sep 15:21
0c33fa1
Compare
Choose a tag to compare
Merge pull request #20 from thetrung/master

add support for macOS