react-native-android-sms-listener
react-native-android-sms-listener copied to clipboard
fix add listener multiple times and commented code to keep listener work in background / foreground
- fix adding listener multiple times each time open the app while run foreground service together with the package
- stop call
unregisterReceiverinsideonHostPauseandonHostDestroyhandlers to keep the listener work with background or foreground service