Closed kmcgill88 closed 5 years ago
Have you had enough time to review this idea?
Yes I would definitely be open to that. Please feel free to do a pull request. I will also look and see if I can update the implementation. Thank you!
Fixed with the PR and: flutter_sms: 0.0.4
@rodydavis Was this actually done? It looks like sendSMS
is still returning a string?
I am still testing but the latest on GitHub returns a string.
Once I fix the bugs I’ll publish the new version.
Works on iOS and web for me really well
I noticed you return a
Future<String>
from sendSMS. What do you think about changing toFuture<SendResult>
.to
Doing something like
SendResult.success
would allow pushing the string comparison down into your library and consumers have an easier interface with the enums to determine the result. I'd be happy to implement this if you agree.