Woonivers / react-native-document-scanner

Document scanner, features live border detection, perspective correction, image filters and more ! 📲📸
MIT License
85 stars 71 forks source link

How can I go back to previous screen from scanner? #34

Closed pierroo closed 4 years ago

pierroo commented 4 years ago

Hi,

I am facing an issue where I am unable to use the usual "this.props.navigate.goBack()" from react-navigation.

From my main page, I go to a whole new page that contains nothing but the pdfscanner component, just like in your example.

Unfortunately from there, I would like to:

1- send back to previous page the cropped image that was scanned 2- go back to previous screen as well

Uppon tapping a button.

Any help would be greatly appreciated :)