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

Get real sending status and delivery status #9

Open
Hossny37 opened this issue Jul 17, 2022 · 3 comments
Open

Get real sending status and delivery status #9

Hossny37 opened this issue Jul 17, 2022 · 3 comments

Comments

@Hossny37
Copy link

Hi Dear,
Currently the service is giving sent status in all cases even if there is no sim card, I believe it's better to get the real status through intentPending interface.

Best regards,

@shinewanna
Copy link
Owner

I'm not sure, it's been too long, I'll check.

@VaishvikaPawar
Copy link

Any update on this issue? I'm also getting message as sent but on my phone I'm not receiving any message from another device that I'm using for testing.
I have added SEND_SMS permission in manifest file.

@lolloden
Copy link

lolloden commented Feb 23, 2024

I had the problem of messages sent but not delivered on an older smartphone (Q). Solved by changing this line:

SmsStatus result = await BackgroundSms.sendMessage(
            phoneNumber: "391234567890", message: "Hello world!", simSlot: 1);

in:

SmsStatus result = await BackgroundSms.sendMessage(
            phoneNumber: "+391234567890", message: "Hello world!", simSlot: 1);

(added + symbol ).
In my experience this is not necessary in newer Android devices.
Hope this can help

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

4 participants