distriqt / ANE-Message

Send messages from AIR using email and SMS
https://airnativeextensions.com/extension/com.distriqt.Message
0 stars 0 forks source link

SMS select SIM card #53

Closed raresn closed 5 years ago

raresn commented 5 years ago

Hey guys, We are in the position where we have 2 sim cards inserted in our phone and we want to choose which one we use when sending. Do you think you can help us out?

Thank you, Rares

marchbold commented 5 years ago

Have you done any research into the SDK at all to see if this is possible?

marchbold commented 5 years ago

We don't have any dual sim devices so will be a hard one for us to test.

marchbold commented 5 years ago

This may be related: https://stackoverflow.com/questions/43445589/android-how-to-send-sms-with-particular-sim-in-dual-sim-mobiles

raresn commented 5 years ago

Hey, Yes, actually the last link you sent is exactly what is needed. Just an implementation of those two functions: a function to list the available SIM cards and a parameter in the send SMS function to choose which SIM to send from. We have 15 dual SIM phones and can help with the testing

marchbold commented 5 years ago

Okay, we will get this into our schedule and see when we can update the ANE.

raresn commented 5 years ago

This is awesome news! Let me know how we can help ;)

marchbold commented 5 years ago

See the following for information on the implementation:

https://github.com/distriqt/ANE-Message/wiki/u.SMS#subscription-info

Let me know if you have any troubles.

raresn commented 4 years ago

Hey, Found one thing that is missing: If we are using two sims, we need the know the Subscription ID for the received message (the sim that recevied the message) Is it there and we just missed it? or needs to be added? Thank you!

marchbold commented 4 years ago

Hi, Can you log this as a new feature request and we will look into it.