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.

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • [x ] I am running the latest version
  • [ x] I checked the documentation and found no answer
  • [ x] I checked to make sure that this issue has not already been filed

Expected Behavior

i want to catch error of monitor (notify characteristics) when i remove the notify its work only on android

Current Behavior

i don’t receive error event

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. Both JS and platform logs can be enabled via setLogLevel function call.

  • Library version: 2.0.2
  • Platform: iOS.
  • Platform logs (logcat/XCode):
  • JS logs:
  • Contents of the package.json file:
  • Formatted code sample or link to a repository:
**const notify = characteristics.monitor((error, result) => {
      if (error) {
        //not work in ios
        console.log('error', error);
      } else {
....       
}

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
hamzadahmanicommented, Dec 22, 2020

yes

0reactions
dariuszseweryncommented, Dec 22, 2020

In both situations (subscription cancel and transaction cancel) Android does emit error and iOS does not. Correct?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling errors — iOS App Dev Tutorials
In this section, you'll navigate to your App Sandbox and deliberately alter your app's data to test how Scrumdinger responds to this event....
Read more >
Element: error event - Web APIs | MDN
The error event is fired on an Element object when a resource failed to load, or can't be used. For example, if a...
Read more >
Error Tracking - iOS
An error is a designed error state in your app, such as a failed login. An exception is an error thrown by the...
Read more >
Saving iOS Calendar Event is now giving an error
I had a similar error. It was caused by requesting access to events of type .event and trying to save a reminder. If...
Read more >
Error Message: This Event Hasn't Been Prioritized For IOS 14
Link to video I talk about in this video: https://youtu.be/wJchQ34eNKQGet 60+ training videos on video marketing and social media ...
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