Skip to content

Commit

Permalink
Fix README section on sending automatic messages
Browse files Browse the repository at this point in the history
This updates the README to show that the phone numbers should be
passed as an object under the `addressList` key.
  • Loading branch information
briankabiro committed Mar 21, 2020
1 parent c5035d7 commit 3c2e772
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ SmsAndroid.autoSend(
```javascript
import SmsAndroid from 'react-native-get-sms-android';

let phoneNumbers = ["123", "456"];
let phoneNumbers = {
"addressList": ["123", "456"]
};

SmsAndroid.autoSend(
JSON.stringify(phoneNumbers),
Expand Down

0 comments on commit 3c2e772

Please sign in to comment.