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

Does this library run in the background? #52

Open DangTrungdev113999 opened 4 years ago

DangTrungdev113999 commented 4 years ago

I use react-native-background-job to run in the background, but not work.

tamangsuresh commented 4 years ago

It's not working for me too.

gamesover commented 3 years ago

same, when app currently is active, phone screen is on, it works perfectly

when screen is off, it does not work

gamesover commented 3 years ago

~@DangTrungdev113999 do you find a solution?~

Sorry, found a lot of discussions before. https://github.com/andreyvital/react-native-android-sms-listener/issues/6#issuecomment-334841515 shall work

kiveemusic9 commented 2 years ago

@gamesover #6 works only till the application is in background, not if app is closed... please devs look into it...it will be a great feature

gamesover commented 2 years ago

@kiveemusic9 , check your mobile's app management, energy saver plan. Some mobile will auto kill the app to save energy/power/battery, until you change the settings to be never killed/or always on/ or something similiar.