Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use with react native #67

Open
Luke-Tan opened this issue Oct 23, 2018 · 4 comments
Open

Use with react native #67

Luke-Tan opened this issue Oct 23, 2018 · 4 comments

Comments

@Luke-Tan
Copy link

Is it possible for this to work out of the box with react native? I have tried using both react native canvas as well as node canvas but both seem to have its share of issues. Is support for react native likely to be added in the future?

@MarcGodard
Copy link

What is the error you are getting? I integrated it well with a couple frameworks now (frontend and backend). What is going on with react?

@stubbo
Copy link

stubbo commented Apr 15, 2019

I have also just found a issue with it

[Unhandled promise rejection: TypeError: undefined is not an object (evaluating 'window.document.createElement')]
Stack trace:
node_modules\merge-images\dist\index.umd.js:25:70 in
node_modules\promise\setimmediate\core.js:45:7 in tryCallTwo
node_modules\promise\setimmediate\core.js:200:23 in doResolve
node_modules\promise\setimmediate\core.js:66:12 in Promise
node_modules\merge-images\dist\index.umd.js:21:20 in mergeImages

@lukechilds
Copy link
Owner

React Native isn't something I'm interested in supporting myself but happy to accept a PR for this.

@cristea2017
Copy link

cristea2017 commented Sep 16, 2020

You can use combination between html and webview. This is not the best solution but this works 💯

  1. create html file , drop jssourse in <script> tag

  2. install https://github.com/react-native-community/react-native-webview

3.bridge html with react native (inject js with your image and configuration)

Also you can try this one
https://github.com/guhungry/react-native-photo-manipulator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants