Skip to content

Conversation

@mojabyte
Copy link

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.

@mojabyte
Copy link
Author

#66

thaikhuong62000 pushed a commit to thaikhuong62000/react-native-get-sms-android that referenced this pull request Jan 27, 2024
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

Successfully merging this pull request may close these issues.

1 participant