Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
625 stars 183 forks source link

RegistrationHelper doesn't handle captcha error while verification code requesting #369

Closed hamarna closed 10 months ago

Auties00 commented 1 year ago

That's intended, unless I'm missing something here

hamarna commented 1 year ago

I'm using RegistrationHelper and generating Whatsapp object via Store.random() and Keys.random().

RegistrationHelper.requestVerificationCode throws exception with VerificationResponse. Response has type "CAPTCHA" and there's no way to handle captcha and send it to WA when you register an mobile account manually.

Auties00 commented 10 months ago

Tracking in https://github.com/Auties00/Cobalt/issues/371