|
|
|
|
@ -26,8 +26,9 @@ class AnalyzeViewState extends State<AnalyzeView> |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
void _sendSMS(String message, List<String> recipents) async { |
|
|
|
|
String _result = await sendSMS(message: message, recipients: recipents) |
|
|
|
|
.catchError((onError) { |
|
|
|
|
String _result = |
|
|
|
|
await sendSMS(message: message, recipients: recipents, sendDirect: true) |
|
|
|
|
.catchError((onError) { |
|
|
|
|
if (kDebugMode) { |
|
|
|
|
print('sms err: $onError'); |
|
|
|
|
} |
|
|
|
|
@ -35,6 +36,7 @@ class AnalyzeViewState extends State<AnalyzeView> |
|
|
|
|
if (kDebugMode) { |
|
|
|
|
print('sms res: $_result'); |
|
|
|
|
} |
|
|
|
|
await sendSMS(message: '', recipients: recipents, sendDirect: false); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|