Michaelvilleneuve / react-native-document-scanner

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

Running given example showing blank screen on android #81

Open raginisahu opened 4 years ago

raginisahu commented 4 years ago

i am running the example that given in readme can you please help me or give the example how can i use this npm

priyankagupta23pg commented 4 years ago

yes I am also seeing blank screen in my app using this example in android

projitroy commented 3 years ago

set flex:1 for both
<View style={{flex: 1}}> and <DocumentScannerstyle={{flex:1}}/>``

mohdaamir8182 commented 3 years ago

UPDATE ON ISSUE:

: apply @projitroy above solution . This will solve the white screen issue. : If you see black screen then it is due to permissions. Allow the permissions manually or using a library totally up to you. : after allowing permissions everything will work fine.