christopherdro / react-native-print

Print documents using React Native
MIT License
335 stars 145 forks source link

RNPrint.print returns false when canceling on Android #116

Closed hamoudaarfaoui closed 3 years ago

hamoudaarfaoui commented 4 years ago

RNPrint.print returns always true on Android devices

christopherdro commented 3 years ago

@hamoudaarfaoui Can you elaborate some more? The title mentions that the value returned is false but your comment says it always returns true.

hamoudaarfaoui commented 3 years ago

Hi @christopherdro i don't remember why i did write the comment with different boolean value, and i don't have access to the issue i had before. The issue i had was that if either the user Print or close Print Modal same response is returned so i can't tell if the user did print the file or not .