Cannot read property 'convert' of null : this occurs while using react native expo
while using react native with expo const file = await RNHTMLtoPDF.convert(Options) this line line seems not to work and the error given is
"Cannot read property 'convert' of null"
searched through all documentations and found that for react native with expo there is no way that this file can be created
Did you build a new development client after adding react-native-html-to-pdf to your project's dependencies?
@LuckyBelieve You should switch to the development build instead of Expo Go
still have the exact same issue rn
Hi there! 👋
I just published a new version 1.2.0 which supports the new architecture and uses turbo modules.
Please give it a try and let me know if you're still coming across this issue
Thanks for your patience! 🙏
Function seems to be changed i was having same issue, it resolve by using this
let file = await generatePDF(options);