-
Writing a react native vnc viewer for android that opens via webview a react.js app using react-vnc (on the react.js side) I want to pass a password via native to the instance running react-vnc in react.js. (this is running in a lan env and for a custom use case) how could i edit this component to include the password passed? // other non relevant code above |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This worked. <VncScreen |
Beta Was this translation helpful? Give feedback.
This worked.
<VncScreen
url={vncserver}
scaleViewport
rfbOptions={{
credentials: {
password: pw,
},
}}
showDotCursor
background="#000000"
style={{
width: "100vw",
height: "100vh",
}}
ref={ref}
/>