React Native + Canvas

(Iam Peekay) #1

I have a web app that listens to a VNC server over RFB protocol (which sends rect events) and draws them to a canvas on the client. I need to create a mobile version of this web app. Is it possible to use canvas & draw to canvas in React Native?

I took a look at React ART but it wasn’t immediately obvious if it’s possible to do what I need with React ART.

I’m wondering if the only way to do this is to use a WebView?

(fxwan) #2

Fallback to WebView. AFAIK.

(Shaofei Cheng) #3

You might try this “GCanvas”.

It’s a canvas implement for native mobile app with canvas 2d & web GL support.

There is plugin for React Native: