Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendAdvancedUssd always throw "Unhandled Exception: PlatformException(ussd_plugin_ussd_execution_failure, USSD_RETURN_FAILURE, null, null)" #4

Open
blackbusters opened this issue Jan 20, 2022 · 6 comments

Comments

@blackbusters
Copy link

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?

@ALI-SAMPSON
Copy link

I'm facing the same issue here.

@Zeeshan90
Copy link

I'm also facing the same issue.

1 similar comment
@sakib556
Copy link

sakib556 commented Aug 2, 2023

I'm also facing the same issue.

@tejas1106
Copy link

I'm also facing the same error. Any solution to this?

@K0M4L
Copy link

K0M4L commented Feb 12, 2024

I'm also facing the same issue. Any solution?

@pkitatta
Copy link

Same problem with me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants