Closed Ahmedfathyarafa closed 4 years ago
code>?
@devanshsadhotra25
Here's the code
import SmsListener from 'react-native-android-sms-listener'
componentDidMount(){
SmsListener.addListener(message => {
console.info(message)
})
}
after receiving the SMS I can see the message in the console . but once the message received the app is closed.
And here is the error :
I'm facing the same issue here and the issue is not solved
The listener is working well and the body of the received message is logged successfully but the application is crashing immediately after receiving the SMS.
Any solution ?? @andreyvital