'Pdf' has no propType for native prop RCTPdf.acessibilityLabel of native type 'String'
somoso opened this issue · comments
react-native-pdf v1.3.0 need react-native v0.47.x, please update your RN or use react-native-pdf old version.
Thanks for the quick reply! I've downgraded to 1.2.7 and now everything works.
@somoso
I use react@15.4.2, reacr-native@0.38.0, react-native-pdf@1.0.9, also show this red screen. And I can't update my RN with some reason ,so hwo can i deal with this? Please.
In the end I used react-native-pdf@1.1.0. I was also deleting my node_modules folder and running npm install. I was also using react-native@0.42.0, which I admit probably doesn't help too much.
Worst case scenario, I'd fork this project and modify the code to remove the acessibilityLabel if I didn't need it for my project.
I'm sorry I can't be more helpful than that.
I'm able to bypass this error and it's run correctly on react-native@0.42.3.
https://github.com/bavuongco10/react-native-pdf