I took the code and created the sample app to verify the same. Looks like it is working as expected,
❯ fdk run
Starting local testing server at http://*:10001/
Append 'dev=true' to your Freshchat account URL to start testing
e.g. https://web.freshchat.com/a/230117337757345/inbox/3/0/conversation/233020826993979?dev=true
Quit the server with Control-C.
To simulate product, app setup, and external events, visit - http://localhost:10001/web/test
To test the installation page, visit - http://localhost:10001/custom_configs
I was here // Console logged!
As per the log on the iparams.html page in browser console,
form:21 {requestID: "784d5219-3d85-41ed-9a55-9eb68090beb3", response: "ok"}
requestID: "784d5219-3d85-41ed-9a55-9eb68090beb3"response: "ok"
__proto__: Object
Do you mind sharing some of the following things while to reproduce this issue again?
- NODE DEBUG logs to see if something unusual happening with CLI (fdk)
- HAR File to see if something is wrong on the browser’s end.