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.

After invoking the verifyFingerprint function and the user presses cancel - How do I catch that cancel event / press?

Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
EddyVerbruggencommented, Sep 11, 2019

Hi, that’s very clear indeed, thanks! I don’t think it’s possible for me to know whether that function failed or was cancelled, but perhaps if you use verifyFingerprintWithCustomFallback you may get the relevant details in the reject (or catch in your case) because of this line… can you give that a shot?

0reactions
patrikengborgcommented, Sep 11, 2019

Yes!

{ code: -2, message: 'Canceled by user.' }

Brilliant, thank you so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTMLDialogElement: cancel event - Web APIs | MDN
The cancel event fires on a <dialog> when the user instructs the browser that they wish to dismiss the current open dialog.
Read more >
How to Gracefully Cancel an Event - Eventbrite Blog
How to cancel an event (gracefully) · 1. Stop taking sales · 2. Communicate with your attendees · 3. Issue full refunds ·...
Read more >
How to Cancel an Event with the Least Drama (with Sample ...
Steps to Gracefully Cancel an Event · 1. Enlist help as quickly as possible · 2. Identify constituents · 3. Edit your event...
Read more >
How to Cancel an Event in Google Calendar (2022) - YouTube
Learn how to cancel an event in Google Calendar and notify guests that the event has been canceled. Table of Contents:Introduction: ......
Read more >
How to Cancel an Event on Facebook
In addition to creating informal conversations and other general, newsy posts about your business, you can also create events on Facebook and electronically ......
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