sulla
sulla copied to clipboard
Close instance during qrCallback
When executing create, it starts an instance of chrome and waits for the qrcode to be read.
How do I cancel this instance? Close this instance.
Actually you can't
@danielcardeenas I think we could easily fix this in two ways:
-
Use a global event emitter to expose to listen for events like
initialized
that emits the waPage that could be used in this case to close the page, andqrCode
that emits the qrCode andauthenitcated
emitted when the qr code is successfully scanned (and else...) -
Split the create method in
initialize
and thenauthenticate
methods
I suggest option 1 as it is much more easy and clear
I also need this feature, please add it soon @danielcardeenas @robertsLando
I came across this problem, there's some news about this feature?
Here it stops at "authenticate to continue", even if I scan the QR code. I already tried to delete the file "MANIFEST-000001", but nothing has changed.
Here it stops at "authenticate to continue", even if I scan the QR code. I already tried to delete the file "MANIFEST-000001", but nothing has changed.
Their is an issue with the current state of Sulla available on NPM: Here are fixes: #375