Comments (6)
Are you using the function onSmsDelivered
?
from flutter_sms.
I've pushed a fix, this should be good now. Reopen if not
from flutter_sms.
Are you using the function
onSmsDelivered
?
No. I am not using that function.
I've pushed a fix, this should be good now. Reopen if not
I've tested it and still messages are not sent via 2nd sim slot. I am getting the following error messages and incorrect message.onStateChanged saying the SMS was sent.
D/flutter_sms(21885): Sent result: SmsManager.RESULT_ERROR_GENERIC_FAILURE
I/flutter (21885): SMS is sent!`
from flutter_sms.
You have this error because you're second sim card cannot send SMS
from flutter_sms.
I see. It seems to just preferring to send with a particular sim card, even if I try to switch the default sim for text. It will find it and send it with sender.sendSms(message, simCard: card.first);
even if I put it on either slot 1 or slot 2.
I then tried using other sim cards without the preferred one, the same message appears and now I cannot send on both sender.sendSms(message, simCard: card.first);
or sender.sendSms(message, simCard: card.last);
:
D/flutter_sms(21885): Sent result: SmsManager.RESULT_ERROR_GENERIC_FAILURE
I/flutter (21885): SMS is sent!`
Not sure how this is still happening, since all sim cards work perfectly fine if I do not use a simcard parameter in sender.sendSms(message);
from flutter_sms.
I can't find where is the issue, if I found how to fix I will ping you
from flutter_sms.
Related Issues (20)
- What about dual sim android if I want to send message from selected sim... HOT 5
- how to listen and read a futur sms HOT 12
- logo design contribution HOT 16
- Contact lookup appears to be failing (maybe just on M+?) HOT 3
- Error when trying to send message with no money on account HOT 4
- Send SMS Permisson Error HOT 10
- Complete rewrite in Kotlin HOT 4
- toString is not getting called on error objects present in print statement HOT 3
- Can this library create arbitrary SMS messages? HOT 35
- Update for Dart 2. HOT 1
- "Sent" messages are not being saved to phone when written directly [feature/smsdb] HOT 6
- We need integration tests
- Potential compatibility issues. HOT 6
- SMS deletion HOT 15
- How to determine if message failed in sending? HOT 4
- First access error HOT 1
- Seems to conflict with flutter_simple_permissions HOT 8
- Need update the plugin to dart sdk 2.1 HOT 5
- SMS is sent but it's not stored in the Database HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_sms.