I’m running into the same issue here. I recently bought an expensive Epson TM-m30III and it only works properly when I use a browser on Android. When I try to use the Android app, it just doesn’t work.
Here’s what I’ve done so far:
- I downloaded and installed the certificate on my Android device.
- In Odoo 18, I set point_of_sale.enforce_https to True.
It worked for a some hours after setting odoo point_of_sale.enforce_https to True. But after a restart it stopped working again.
But here’s the problem: the certificate is tied to a hostname (domain), while my printer is set up with an IP address. According to the Odoo documentation, it says: "To confirm your printer’s connection is secure, connect to its IP address using HTTPS."
How is this supposed to work? When I try this in the browser, it checks the certificate’s hostname against whatever I type into the address bar. Since I am using the IP address and not a domain name, it doesn’t match, and I’m stuck.
Has anyone else dealt with this? Any ideas on how to make it work with the Android app? Thanks!