Open tarkcelk opened 1 year ago
Hi @tarkcelk, new new architecture is still experimental, right?
This documentation is still experimental and details are subject to changes as we iterate.
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.
Now you can use the "New Renderer Interop Layer" The interop layer is shipped with React Native 0.72
Just add a component name like this in react-native.config.js
module.exports = { project:{ android: { unstable_reactLegacyComponentNames: [ "PDFView" ] }, ios: { unstable_reactLegacyComponentNames: [ "PDFView" ] } }, };
"The interop layer is a feature that lets you reuse legacy Native Components in New Architecture apps"
Read More https://github.com/reactwg/react-native-new-architecture/discussions/135
@mrshahzeb7 thanks, i will be looking to that
Describe the bug Pdf package doesn't work when build a project with new architecture enabled, need to update the package to be compatible.
To Reproduce
Steps to reproduce the behavior:
Expected behavior Proper rendering when new architecture is enabled.
Screenshots
Smartphone (please complete the following information):