This PR adds autoSendMultiSim method that gets an extra simSlot argument for selecting which SIM slot to send SMS from. simSlot could be either 0 for SIM slot 1 and 1 for SIM slot 2.
This method requires an additional android.permission.READ_PHONE_STATE permission to access SIM cards.
The autoSend method remains the same as before, passing null as simSlot argument to autoSendMultiSim method which selects the default SIM slot, and it doesn't need that permission.
This PR adds
autoSendMultiSim
method that gets an extrasimSlot
argument for selecting which SIM slot to send SMS from.simSlot
could be either0
for SIM slot 1 and1
for SIM slot 2. This method requires an additionalandroid.permission.READ_PHONE_STATE
permission to access SIM cards. TheautoSend
method remains the same as before, passing null assimSlot
argument toautoSendMultiSim
method which selects the default SIM slot, and it doesn't need that permission.