christopherdro / react-native-html-to-pdf

Convert html strings to PDF documents using React Native
MIT License
435 stars 269 forks source link

TypeError: null is not an object (evaluating 'RNHtmlToPdf.convert') in iOS #174

Closed rpgpunzalan closed 3 years ago

rpgpunzalan commented 4 years ago

Everything is working smoothly on android but on iOS, I am getting this error. I tried checking the value of RNHTMLtoPDF and it has no null value. It sees convert as a function and all. I also have checked the options. Please help thanks

euZebe commented 4 years ago

Same here, which I fixed by following the indications here cd ios && pod install then react-native run-ios to reinstall app. Hope this helps.

rpgpunzalan commented 4 years ago

Unfortunately, it's still not working. I also tried deleting node modules, reinstalling them, deleting pods folder, and reinstalling those pods. Still no luck

vitolipari commented 4 years ago

I have the same error

lucaspiressimao commented 4 years ago

Not working for me too ...

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ronaldaraujo commented 3 years ago

Solve this problem with the following steps:

  1. Uninstalled the app on the simulator;
  2. yarn start --reset-cache
  3. yarn android