Sending sms

Hello everyone! I don’t konw if I’m at a good place to put my question.
I try to develop an application to send sms with android wich is dual sim.
I want every time to choose wich of them I will use to send sms. I don’t know how to do?
Someone can help me?

Are you using ionic framework for android?

Yeah.Ans I want to choose between of my sim cards Evert time I send SMS.My phose is dual sim.My application works fine if I set one the sim by default SMS sender.