Coder Social home page Coder Social logo

Comments (4)

jspizziri avatar jspizziri commented on June 2, 2024 1

@Faseeh-Abbas-Khan currently we're using RNFS to store files. It's been a while since I've tried doing it directly with require (if ever). I'd recommend trying to use RNFS as require isn't a big priority for us (unless you'd like to do debugging and submit a PR).

Take a look at how it's done in the example: https://github.com/5-stones/react-native-readium/blob/main/example/src/components/Reader.tsx

from react-native-readium.

jspizziri avatar jspizziri commented on June 2, 2024 1

@Faseeh-Abbas-Khan I've never worked with an epub like that. You'll need to do some digging on the underlying readium libraries to see what is supported there and how.

from react-native-readium.

mickael-menu avatar mickael-menu commented on June 2, 2024 1

If the EPUB is a fixed-layout, then interactions won't work in Readium on Android, see readium/kotlin-toolkit#131

from react-native-readium.

Faseeh-Abbas-Khan avatar Faseeh-Abbas-Khan commented on June 2, 2024

@jspizziri I have managed to open the file thanks to the example you have given, but the epub file I am using has interaction, sounds, and animation but, I cannot make them run for my particular file, can you also suggest me any specific change to be made to make them run.

from react-native-readium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.