Closed scott-r closed 1 year ago
After trying multiple methods for the app to send requests to a print server on the local network, we finally implemented a different solution. The app now "prints" receipts by storing them in a database table. The print server polls the database table and prints the receipts using the Epson receipt printer.
Chrome added a restriction on accessing local network devices. Fixing that required the app to use https (to indicated that it is trustworthy) and TLS to communicate with the printer.
Now it appears that a future Chrome version (105) will add preflight checks that currently will not succeed. https://developer.chrome.com/blog/private-network-access-preflight/#:~:text=Private%20Network%20Access%20(formerly%20known,to%20make%20private%20network%20requests.