Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification on lastUsedDevice #2

Open
loberhauser opened this issue Feb 8, 2024 · 0 comments
Open

Clarification on lastUsedDevice #2

loberhauser opened this issue Feb 8, 2024 · 0 comments

Comments

@loberhauser
Copy link

Hi, first of all thank you for this project. It's really easy to use and helped me out a lot till now.
In the README you mentioned the reconnect() method. What would be the best way to store the device? I tried it using the localstorage (of course saved only the id of the device). I also enabled all necessary flags in chrome. But every time i use the reconnect() method after a reload of the page it does not select the printer i already selected before. Is there a work around or am i missing something?
Thanks for the help in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant