Open achhranitesh opened 6 years ago
same
You probably need to install babel-polyfill
and use it in your project. If you build with webpack specify it as an entry point in your config:
<...>
entry: [
'babel-polyfill',
'./index.web.js'
],
<...>
I've updated the build config and this should be resolved as of v0.0.6
Still running into a problem with ImagePicker when I try to print the base64 string to the console onChange. Here is part of my code:
`<ImagePicker extensions={['jpg' ,'jpeg' ,'png']} onChange = {base64 => console.log(base64)}
<div style={{height: 200px, width: 100px}} /> `
Here is the error I get every time I select an image:
Getting 'regeneratorRuntime is not defined' error when using ImagePicker.
But FilePicker works properly. Can any one help