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.

Quickly click images shown by launchImageLibraryAsync will cause error Invariant Violation: No callback found with cbID

See original GitHub issue

🐛 Bug Report

Summary of Issue

when using this api https://docs.expo.io/versions/latest/sdk/imagepicker/#imagepickerlaunchimagelibraryasyncoptions if user click one image very quickly many times. it will show this error Invariant Violation: No callback found with cbID

Environment - output of expo diagnostics & the platform(s) you’re targeting

ios

Reproducible Demo

image

Steps to Reproduce

Expected Behavior vs Actual Behavior

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Shing-Hocommented, Nov 20, 2020

It’s happening to me in iPhone 11 - 14.0

0reactions
github-actions[bot]commented, Feb 10, 2022

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invariant Violation: no callback found with cbID for module ...
In my package.json I added at the end. Then I deleted the node_modules folder. And then rebuild the project and the error was...
Read more >
ImagePicker - Expo Documentation
expo-image-picker provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera....
Read more >
no callback found with cbID #659 - Issuehunt
Actual behaviour when i try to close opened modal after cancelling save to files, it is throwing error started with 'no callback found...
Read more >
How to select a photo from a mobile device in Draftbit
In this guide, we walkthrough you by selecting an image from a device's media library in a Draftbit app. To implement this functionality,...
Read more >
Top 5 expo-image-picker Code Examples - Snyk
.then((response) => { const { status, expires, permissions } = response if (status === 'granted') { ImagePicker.launchImageLibraryAsync({ // mediaTypes: ...
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