It is a library that captures incoming sms that only works on android.
import SmsListener from "react-native-sms-listener";
// ...
const getData = async () => {
SmsListener.readSMS()
.then((res) => {
setSmsData(res);
// ...
})
.catch((err) => console.log(err));
};
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library