shijingsh / react-native-customized-image-picker

iOS/Android image picker with support for camera, video compression, multiple images and cropping
245 stars 59 forks source link

Please Review Your Documentary #114

Open AnatuGreen opened 2 years ago

AnatuGreen commented 2 years ago

I don't think the readMe was detailed enough. Please explain how do we place the picker in the body of code? After installing the library, where do we place the :

ImagePicker.openPicker({}).then(image => {
    console.log(image);
  });

I have tried placing it into a and it is just giving errors:

TransformError SyntaxError: C:\Users\A\Desktop\RAM_Mechanic\Rent_A_Mechanic\src\screens\DocsUpload.js: Unexpected token, expected "}" (82:22)

  81 | ImagePicker.openPicker({}).then(image => {
> 82 |     console.log(image);              ^
liukefu2050 commented 2 years ago

Thank you for your feedback Added a complete example, I hope it can help you

https://github.com/shijingsh/pickExample

alicja-mruk commented 1 year ago

@liukefu2050 page has 404 error