sulla icon indicating copy to clipboard operation
sulla copied to clipboard

Close instance during qrCallback

Open thiagoamarante opened this issue 4 years ago • 6 comments

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.

thiagoamarante avatar Apr 23 '20 01:04 thiagoamarante

Actually you can't

robertsLando avatar Apr 23 '20 07:04 robertsLando

@danielcardeenas I think we could easily fix this in two ways:

  1. 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, and qrCode that emits the qrCode and authenitcated emitted when the qr code is successfully scanned (and else...)

  2. Split the create method in initialize and then authenticate methods

I suggest option 1 as it is much more easy and clear

robertsLando avatar Apr 23 '20 08:04 robertsLando

I also need this feature, please add it soon @danielcardeenas @robertsLando

NabiilahDatabase avatar May 08 '20 06:05 NabiilahDatabase

I came across this problem, there's some news about this feature?

developerdevice avatar May 11 '20 21:05 developerdevice

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.

Novacation avatar Jun 05 '20 03:06 Novacation

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

roelandp avatar Jun 05 '20 03:06 roelandp