Code/Dart & Flutter

window.flutter_inappwebview.callHandler is not a function

kolbe_starziki 2020. 6. 27. 11:11

https://github.com/pichillilorenzo/flutter_inappwebview/issues/204

 

Cannot read property 'callHandler' of undefined · Issue #204 · pichillilorenzo/flutter_inappwebview

doesn't have "callHandler" function in the flutter_inappwebview object, only _callHandler, how can I fix it? thanks. version: 2.1.0+1

github.com

window.flutter_inappwebview.callHandler is not a function

function이 없다고 냥냥이 소리를 한다.

flutter_inappwebview._callHandler('del', setTimeout(function(){}), JSON.stringify(["{id:1588}"]))

이런 식으로 하면 된다.