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

SMS: could not send #219

Closed
alissonrodrigo opened this issue Mar 26, 2024 · 9 comments
Closed

SMS: could not send #219

alissonrodrigo opened this issue Mar 26, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@alissonrodrigo
Copy link

I compiled and installed the demo on an Android device (I didn't change anything in the demo) when I put phones from my country (Brazil, +55) it gives me the error "could not send".
I only need to send the message on a single device, the app would not be published on Google Play.
Would it be possible to do this with the demo + kastri in my country?
Grateful

@DelphiWorlds DelphiWorlds self-assigned this Mar 26, 2024
@DelphiWorlds DelphiWorlds added the bug Something isn't working label Mar 26, 2024
@DelphiWorlds
Copy link
Owner

Since I'm not in Brazil, I'm not sure I'll be able to fix this, however there are some steps you can take to diagnose the issue, after which I may be able to fix it. I recommend using Device Lens to view the log messages coming from the device (see the tutorial link at the bottom). The steps for obtaining a relevant part of the messages would be:

  1. Start the app, to the point where you are about to click Send (but do not click it)
  2. Start Device Lens, enter com.embarcadero.SMSDemoD12 or com.embarcadero.SMSDemoD11 (depending on which project you compiled) in the Filter On Application edit in the top right and press enter
  3. Press Send in the app - you should see a number of messages in Device Lens
  4. If sending an SMS requires any confirmation, do that
  5. If sending fails, right-click the grid in Device Lens, click Save To File to save the log, and attach it to this issue

@alissonrodrigo
Copy link
Author

SMS.log
File log

@alissonrodrigo
Copy link
Author

print device lens
sms

@DelphiWorlds
Copy link
Owner

Are you filtering on Errors only? Please make sure all messages show. Those that appear in the screenshot may be unrelated to the problem

@alissonrodrigo
Copy link
Author

There is no filter, I also thought it was strange but only this message appeared

@DelphiWorlds
Copy link
Owner

Could you do the same steps as described earlier, but without the Filter On Application filter?

@alissonrodrigo
Copy link
Author

I'm not using a filter as you can see in the image. Device lens is only loading error messages
Screenshot_5

@DelphiWorlds
Copy link
Owner

The latest screenshot does not show any messages like in the first one. Are you sure you repeated the process, or is there more messages off-screen? If so, please save the log and attach it following these steps:

  1. Start the app, to the point where you are about to click Send (but do not click it)
  2. Start Device Lens, and click the "Play" button in the top left
  3. Press Send in the app - you should see a number of messages in Device Lens
  4. If sending an SMS requires any confirmation, do that
  5. If sending fails, right-click the grid in Device Lens, click Save To File to save the log, and attach it to this issue

Screenshots are extremely hard to work with.

@DelphiWorlds
Copy link
Owner

Closed due to inactivity

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

2 participants