devsmadeofsteel/Plugin.HybridWebView

HybridWebViewControl.HandleScriptReceived(string data) -> System.NullReferenceException: 'Object reference not set to an instance of an object.'

Closed this issue · 1 comments

Hello. I am using your solution, but I have an error. When calling the InjectJavaScriptAsync method, namely the result of calling callBack. There is an error describing the csharp function in the readme() on JS. because your code requires Base64 encoding and does not skip simple commands like eventObj.Sender.injectjavascript("csharp('Testing');"); because there is also deserialization going on. I corrected my hybrid, but somewhere in HandleScriptReceived there is an Exception null reference. I don't understand where.