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.

expo.io demo does not work

See original GitHub issue

Issue Description

Wanted to give the demo on expo.io that is linked from the Github repo’s main page a try but failed.

Device: (1052:881) Unable to resolve module 'module://react-native/Libraries/Image/resolveAssetSource.js' Evaluating module://react-native/Libraries/Image/resolveAssetSource.js Evaluating module://react-native-gifted-chat.js Evaluating module://App.js.js Loading module://App.js

Steps to Reproduce / Code Snippets

Follow the link to expo.io demo. https://snack.expo.io/@xcarpentier/gifted-chat

Expected Results

Demo works similar to the GIF on repo’s main page.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
keith-kurakcommented, Jun 25, 2019

UPDATE: I just confirmed it was working in Snack as of 0.9.0, but broke after that.

1reaction
keith-kurakcommented, Jun 25, 2019

This applies to basically any use of the latest version of Gifted Chat on Snack. I made a very minimal example here: https://snack.expo.io/@llamaluvr/gifted-chat-does-not-work-on-expo-issue and it has the same error.

It appears that the issue could be resolved by using React Native video from Expo, per https://github.com/react-native-community/react-native-video/issues/1474. However, I’m not sure how this is done in a way that is compatible with using Gifted Chat in bare RN, Expo, Snack, etc. And this seems like it may be just covering up the real problem. Why wouldn’t Image.resolveAssetSource() be available/

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Maps fitToCoordinates demo - does not work
React Native Maps fitToCoordinates demo - does not work. No description. Open with Expo Go. Open in editor. Need Expo? Don't have the...
Read more >
Locally demo a react-native app built with Expo - Stack Overflow
1 Answer 1 · build app using ios command (expo build:ios) and select bundle for simulator. This build you can able to install...
Read more >
Develop, Deploy and Test React Native apps with Expo
On Expo Dev Tools, we can run on Android device/ emulator or iOS simulator. Here is a brief breakdown of the new browser...
Read more >
How Run and Test React Native / Expo On Your Apple iOS ...
Once you have your Expo project up and running, start the local dev server in command line running npm run start in root...
Read more >
Authenticating AWS Amplify in an Expo React Native App ...
However, you will not need to configure this link in the code itself because it is autogenerated when you run this bit of...
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