You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
Devtools: Android Studio Version - Bumblebee 2021.1.1
Build Tools Version (Android only) 4.2.2
Description
I am using the library as a peer dependency in my react-native module. The module hold the logic for starting the sms retriever and listening for SMS. But its not detecting the SMS.
Oddly, when the same logic is used directly in the sample app, it works as expected.
Are there any extra steps required for using the library in a module?
From the logs, I can confirm that the SmsRetriever service is started. But I am not sure if the listener is active when used in a module.
Environment
Description
I am using the library as a peer dependency in my react-native module. The module hold the logic for starting the sms retriever and listening for SMS. But its not detecting the SMS.
Oddly, when the same logic is used directly in the sample app, it works as expected.
Are there any extra steps required for using the library in a module?
From the logs, I can confirm that the SmsRetriever service is started. But I am not sure if the listener is active when used in a module.
Module code for calling SmsRetriever -
Image - when sms retriever is used directly in sample app
![RNSmsRetrieverSuccess](https://user-images.githubusercontent.com/31401014/176744012-72e54ce7-e6d1-4981-a1ef-7643df8e87ae.jpeg)
The text was updated successfully, but these errors were encountered: