You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using sendAdvancedUssd with this code : SimData simData = await SimDataPlugin.getSimData(); for (var s in simData.cards) { var str = await UssdAdvanced.sendAdvancedUssd(code: "*808#", subscriptionId: s.subscriptionId); print(str); }
Hi..
I tried using sendAdvancedUssd with this code :
SimData simData = await SimDataPlugin.getSimData(); for (var s in simData.cards) { var str = await UssdAdvanced.sendAdvancedUssd(code: "*808#", subscriptionId: s.subscriptionId); print(str); }
but it always throw me an error :
E/flutter (19903): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(ussd_plugin_ussd_execution_failure, USSD_RETURN_FAILURE, null, null)
E/flutter (19903): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:589)
E/flutter (19903): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167)
E/flutter (19903):
E/flutter (19903): #2 Future.timeout. (dart:async/future_impl.dart:873)
E/flutter (19903):
E/flutter (19903): #3 UssdAdvanced.sendAdvancedUssd (package:ussd_advanced/ussd_advanced.dart:18)
E/flutter (19903):
Currently I'm using Flutter 2.8.1 and targeting android sdk 30.
Is there anything i can do to fix this?
The text was updated successfully, but these errors were encountered: