All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.7.6 (2022-02-28)
0.7.5 (2021-09-24)
- move dom type definitions to d.ts to avoid conflicts with ts dom lib referenced in web projects (76fa271)
0.7.4 (2021-08-17)
- workaround for the android inject issue by try inject for more times on loading (868bb2f)
0.7.3 (2021-08-17)
- try to workaround js inject issue on some Android devices by adding inject call on progress event (e92626a)
0.7.2 (2021-08-16)
- remove the deprecated
injectOnLoadStartoption (8294b10) - try to workaround js inject issue on some Android devices (b69699f)
0.7.1 (2021-08-12)
- remote function instance keeps the same if using the same local function, use a more compact protocol for messaging (a4fac95)
0.7.0 (2021-08-10)
-
- rename
withComlinkExpose()towithJavascriptInterface()
- rename
- message protocol changed so it is no longer compatible with v0.5.x client(web side) code
- message protocol changed, handled message will not trigger
onMessageprop anymore
- rewrite the core messaging part, remove the Comlink dependency. (aa69b26)
- support expose mutiple objects to window (01a6830)
- compatible with Android 5 browser (2b88f30)
0.6.4 (2021-08-05)
- inject can be triggered from web side by post message (2dae324)
0.6.3 (2021-08-03)
- add injectOnLoadStart option (0552bd5)
- deps: update jest, ts-jest to v27 (0cbffe1)
- inject script to webview on page load start to get the interface available earlier (4fd5a8c)
0.6.2 (2021-04-19)
- inject script after page loaded (cce2d71)
- simplify web side script, do not export functions and remove wait-ready (e3fee01)
0.6.1 (2021-04-16)
- examples: update deps version to address android webview crash issue on Android 5.0 (535af33)
- examples: update examples and README according to Android 5.0 compatibility check (d15e58c)
- get injected js interface works on iOS (e1b4ea5)
0.6.0 (2021-04-12)
- withComlinkExpose() now needs a name param to define the interface name on web side
- change the option name whitelistUrls to whitelistURLs
-
support inject a interface from native to web (3e4ca72)
-
change the option name whitelistUrls to whitelistURLs (4e61886)
0.5.1 (2020-05-16)
0.5.0 (2020-04-27)
-
rename options.debug to options.log and support input a logger function
-
rename options.debug to options.log and support input a logger function (830ce36)