question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

event.message returns timeout

See original GitHub issue

Environment

  • React Native Version: 0.61.5
  • Platform: Android
  • Device: Moto G4(Plus)
  • OS Version: 7.0
  • react-native-sms-retriever version: ^1.1.1
  • Devtools: Xcode Version: 11.0 / Android Studio Version: 3.5.2
  • Build Tools Version (Android only)

Description

event.message returns {timeout: “Timeout error.”}

Code snippet

registered = await SmsRetriever.startSmsRetriever();
      if (registered) {
        SmsRetriever.addSmsListener(event => {
          const msg = event.message || '';
          console.log(msg);

Sms sent

<#>Your verification code is 1207 tt+ja/0sjDF

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:8

github_iconTop GitHub Comments

2reactions
blastering66commented, Mar 10, 2021

same here… its because the wrong hashkey

Read more comments on GitHub >

github_iconTop Results From Across the Web

Message flow timeout exceeded event message - IBM
Details the event message that is published when the processingTimeoutSec timeout period is exceeded.
Read more >
Using @azure/event-hubs sending message always run into a ...
When I am creating the producer with a connection string than the message will be send without the timeout error.
Read more >
Amazon SQS visibility timeout - Amazon Simple Queue Service
The default visibility timeout for a message is 30 seconds. The minimum is 0 seconds. The maximum is 12 hours.
Read more >
Timeout error. Listener never returns event message from sms.
After a few minutes I am greeted with "Timeout error." The sms content never gets returned in the listener.
Read more >
Solved: top priority of timeout in event structure. - NI Community
I changed my code that timeout event send the message to find a pixel information but the update was slowered for continuous mouse...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found