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.

[feature-request] Support web

See original GitHub issue

Currently, it seems like react-native-view-shot just returns undefined when ran in a web browser with react-native-web

I understand why this happens, but it might be interesting to wrap a library like html2canvas to provide at least some basic functionality

I will happily send a pull request if @gre thinks that it’s within the scope of the package

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dackomcommented, Jan 19, 2022

You could use my fork: react-native-view-shot-with-web-support on npm (https://github.com/NiciusB/react-native-view-shot). I have to warn, it will not be perfect. It uses html2canvas which has some drawbacks, more notably the text kerning can be pretty weird.

@NiciusB this is awesome. Works perfectly for me. Thanks for saving a ton of hours. 😍

0reactions
grecommented, May 27, 2022

sorry for missing out all my notifications 😢 The PR can’t be merged because it conflicts with upstream. Please reopen one that can be merged 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

12 powerful feature request software tools for SaaS - Savio
Not confident about your roadmap? Use these top tools to organize and prioritize software feature requests and build a product that sells.
Read more >
Feature Requests: What are they and how to manage them
Feature requests are a form of product feedback you may frequently encounter as a SaaS product manager. They typically come in the form...
Read more >
15 Feature Request Tools for Managing Product Feedback
A feature request tool is a platform that collects product feedback and suggestions from customers.
Read more >
Feature request tracking: Guide, tools & best practices - Beamer
Feature requests are feedback forms that customers can fill out to ask for new features or suggest improvements to existing ones.
Read more >
What Is a Feature Request? Definition and Examples - Airfocus
You can send out feature request forms via email, have them available on your website, and/or in the help center of your app....
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