sms_retriever icon indicating copy to clipboard operation
sms_retriever copied to clipboard

Future of startListening never resolved or rejected

Open sm2017 opened this issue 3 years ago • 1 comments

When we call String smsCode = await SmsRetriever.startListening(); , startListening return a Future<String> , once SMS received it resolved But if we call SmsRetriever.stopListening();, assume the user enter the code via input and pages disposed, So the future of startListening must be resolved with null or rejected with an exception

sm2017 avatar May 03 '21 08:05 sm2017

@lakhwinderdebut Can you please reply?

sm2017 avatar May 31 '21 06:05 sm2017