andreyvital / react-native-android-sms-listener

Allows you to listen for incoming SMS messages using React Native
MIT License
358 stars 99 forks source link

Facing issue in broadcast listener #55

Open EsaMohammed1110 opened 4 years ago

EsaMohammed1110 commented 4 years ago

Hi

Hope all is good

I'm using this plugin to detect the incoming message. Me and my team are facing stability issue in the broadcast receiver. Sometimes we are getting the output sometimes the SMS is not getting listened. We tried to implement the functionality in native android and it was working fine. While receiving the SMS it's not getting entered in the onReceive method.

My doubt here is does this issues is happening because of any kind of react-native restrictions? also the SMS is not getting detected in when the app is in background state

From code point of view we added the lines only present in the documentation given by your team. Kindly note

Device used for testing:

  1. Redmi 6 pro - Pie OS

Please do the needful

andreyvital commented 4 years ago

Hey @EsaMohammed1110 - I am so sorry for this, currently I'm not actively maintaining this library and TBH, I haven't been working with React Native stuff for a while.

However, I do know that there's some issues regarding permissions you might want to check.