Comments (14)
Followed this, issue solved
react-native-webview/react-native-webview#1312
from react-native-signature-canvas.
Are you use expo init project?
from react-native-signature-canvas.
No i am using react native cli
from react-native-signature-canvas.
Can you try to use react-native-webview normally?
import React, { Component } from 'react';
import { View } from 'react-native';
import { WebView } from 'react-native-webview';
export default class App extends Component {
render() {
const html = `
<html>
<head></head>
<body>
<script>
setTimeout(function () {
window.ReactNativeWebView.postMessage("Hello!")
}, 2000)
</script>
</body>
</html>
`;
return (
<View style={{ flex: 1 }}>
<WebView
source={{ html }}
onMessage={event => {
alert(event.nativeEvent.data);
}}
/>
</View>
);
}
}
from react-native-signature-canvas.
@YanYuanFE now i am getting this
from react-native-signature-canvas.
crypto is your lib of project?
from react-native-signature-canvas.
@YanYuanFE no i didn't use any crypto library, it's giving error in webview library.
from react-native-signature-canvas.
react-native-webview/react-native-webview#1295, this is a problem of react-native-webview, and fixed of this PR:react-native-webview/react-native-webview#1301, I need to update the version.
from react-native-signature-canvas.
I has release v2.0, you can try to install it.
from react-native-signature-canvas.
@YanYuanFE still getting the same crypto error after updating both react-native-webview and react-native-signature-canvas.
from react-native-signature-canvas.
And make sure to run development server with --reset-cache flag
from react-native-signature-canvas.
@YanYuanFE not resolved, still same issue.
from react-native-signature-canvas.
I followed the post: (adding react-native-get-random-values package and importing it from index.js of my project.)
and now have that issue :
null is not an object (evaluating 'RNGetRandomValues.getRandomBase64')
- http://192.168.1.10:19001/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false:124340:35 in getRandomValues
from react-native-signature-canvas.
I have this issue, with latest expo SDK version 39.
from react-native-signature-canvas.
Related Issues (20)
- React native web view issue
- blocking issue on last 0.72.6 React Native CLI HOT 4
- Full screen support HOT 4
- [Android] [Bug]: Leaving a dot breaks behavior when the keyboard is open HOT 2
- DataURL sometime it works but sometimes it not showing the data HOT 3
- Could not save again when clear the previous data that already saved in database HOT 1
- DataUrl not working for older versions of ipads
- From version 4.5.1, it does not work on windows
- Android Webview disable scrollbar HOT 1
- After some rotation Signature is going away and not able to add signature.
- When penColor is using transparency, each stroke looks like a lot of dots overlapping each other HOT 1
- onOk not triggered when signature pad small but i have another full screen that working fine HOT 3
- Invariant Violation: Failed to call into JavaScript module method WebViewMessageHandler1.onMessage() HOT 16
- Horizontal scroll indicator cannot be hidden
- Error when reading signature : ref.current.readSignature is not a function (it is undefined),
- Signature doesn't persist after change in orientation HOT 1
- Component not working on iOS 13.6 HOT 1
- Is it possible to set the output image dimensions? HOT 1
- nestedScrollEnabled or scrollable ? HOT 1
- minDistance version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-signature-canvas.