-
would you give me direction to research, I need epub reader page in my RN app. Q1. What should I use for it, TurboModule or Fabric Native Component? Q2. It seems that Swift is not able to work directly in New Architecture. How to create communication with packages that written in Swift like, EPUBKit, FolioReaderKit? Q3. Is it suitable to install EPUBKit or FolioReaderKit in for example RTNCalculator/ios directory? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If it has to show anything on screen: then it's a Native Component. You might also need to use both depending on what your application is doing.
This has already been discussed here:
@cipolleschi can help you further here |
Beta Was this translation helpful? Give feedback.
-
TL;DR: yes, of course. You can install the dependency and create a wrapper around it. The way to go would be:
An example of something silimar is this library. This is a React Native wrapper around a payment library which is implemented natively in Kotlin/Swift. |
Beta Was this translation helpful? Give feedback.
If it has to show anything on screen: then it's a Native Component.
If it has not: then it's a TurboModule.
You might also need to use both depending on what your application is doing.
This has already been discussed here:
#143
#40
#57
@cipolleschi can help you further here