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

Add support for Globe Telecom #81

Closed
huckleberrypie opened this issue May 9, 2022 · 12 comments
Closed

Add support for Globe Telecom #81

huckleberrypie opened this issue May 9, 2022 · 12 comments
Labels
bug Something isn't working

Comments

@huckleberrypie
Copy link

Describe the bug
I'd like to see support added for Globe Telecom in the Philippines, please. They use the USSD code *143#.

Device (please complete the following information):

  • Device: Realme C3
  • Android version: 12.1
  • MCC and MNC (Shown in settings):
    MCC: 515
    MNC: 2
    Last request failed with code -1
@huckleberrypie huckleberrypie added the bug Something isn't working label May 9, 2022
@mueller-ma
Copy link
Owner

-1 means that the mobile network didn't finish the request. Does *143# work when you dial it in the dialer?

@huckleberrypie
Copy link
Author

-1 means that the mobile network didn't finish the request. Does *143# work when you dial it in the dialer?

Yes, *143# works when I dial it normally.

@perzarys
Copy link

@huckleberrypie Just to rule out the obvious here, did you actually enter your code in the app settings? If not, it will just dial a default code which won't work in your case, obviously

@huckleberrypie
Copy link
Author

@huckleberrypie Just to rule out the obvious here, did you actually enter your code in the app settings? If not, it will just dial a default code which won't work in your case, obviously

Yes, I did.

@mueller-ma
Copy link
Owner

Did you grant the phone permission?

@huckleberrypie
Copy link
Author

Did you grant the phone permission?

Yes, everything seems well accounted for.
Screenshot_20220516-184954_Permission controller

Here's what happens when I query *143# via the phone app itself:
Screenshot_20220516-185236_Phone Services

@mueller-ma
Copy link
Owner

I'm not sure if I can do anything to fix this issue when the API I use returns an error :/

@huckleberrypie
Copy link
Author

I'm not sure if I can do anything to fix this issue when the API I use returns an error :/

That bites. Guess it's a no-go then. :'(

@mueller-ma
Copy link
Owner

I did some research: The API I use doesn't work for ussd codes that start a session and wait for input:

Is there any other USSD code that provides the balance?

@huckleberrypie
Copy link
Author

I did some research: The API I use doesn't work for ussd codes that start a session and wait for input:

* https://stackoverflow.com/questions/46519929/interactive-ussd-sessionmulti-step-does-not-work-on-android-8oreo

* "won't fix" in the Google issue tracker :( https://issuetracker.google.com/issues/69251738

Is there any other USSD code that provides the balance?

Not sure, that's the only way subscribers can check for the prepaid balance. Did you see the screenshot above tho? IDK if it's possible to parse that "BAL 20.9" thing to tell the user they only have 20 pesos left in their account.

@mueller-ma
Copy link
Owner

The API receives message "BAL 20.9....", but then sees that it's an interactive dialog, discards the message and throws an error :/

@noriellecruz
Copy link

i think this issue can be solved if the app will use https://github.com/romellfudi/VoIpUSSD for USSD requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants