Hello I have an error on the JS side when I try send something to the delphi side using the bridge.
This is bridge implementation
try {
const parameters = { type, payload };
const obj = window?.chrome?.webview?.hostObjects?.sync?.MyBridge;
if (obj) {
obj.ObjectMessage = JSON.stringify(parameters);
}
} catch (error) {
logger.error(error);
}
};
TypeError
'set' on proxy: trap returned falsish for property 'ObjectMessage'
I want to send a JSON objct to the delphi side.
I'm using
Delphi 10.3.3 or 10.4 (but I would really love it to work on both)
MS Edge Version 88.0.705.50 (Official build) (64-bit)
FNC Core 3.2.2.2
Control: is TFNCWebBrowser
thank you very much.