futurepress / epubjs-rn

EpubJS React Native Example
Other
267 stars 151 forks source link

Error when run on RN 0.62.2 #169

Open DDushkin opened 4 years ago

DDushkin commented 4 years ago

My package.json

{
  "name": "ReaderApp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint ."
  },
  "dependencies": {
    "epubjs-rn": "^0.1.5",
    "react": "16.11.0",
    "react-native": "0.62.2"
  },
  "devDependencies": {
    "@babel/core": "^7.9.6",
    "@babel/runtime": "^7.9.6",
    "@react-native-community/eslint-config": "^1.1.0",
    "babel-jest": "^26.0.1",
    "eslint": "^7.0.0",
    "jest": "^26.0.1",
    "metro-react-native-babel-preset": "^0.59.0",
    "react-test-renderer": "16.11.0"
  },
  "jest": {
    "preset": "react-native"
  }
}

After implementing this fix https://github.com/futurepress/epubjs-rn/issues/156#issuecomment-584358529 and run yarn android I'm getting these errors:

fchasen commented 4 years ago

This is stuck on 0.59 for now, not sure when this will be updated so any help with that would definitely be appreciated.

ramazanarslan commented 4 years ago

hi, i used @ottofeller/epubjs-rn, it worked for me with rn 0.62

connectus-technology commented 4 years ago

hi, i used @ottofeller/epubjs-rn, it worked for me with rn 0.62

@ramazanarslan can you please outline the steps you took?

Mubeen07 commented 3 years ago

hi, i used @ottofeller/epubjs-rn, it worked for me with rn 0.62

@ramazanarslan can you please outline the steps you took?

@ramazanarslan your guidance will be very helpful for us about how you manage to use this package to load .epub files As I'm using this package, .opf files loading is fine but when I switched to code to load .epub file then this https://github.com/futurepress/epubjs-rn/issues/127#issuecomment-664597544 error occurred

muriloneo commented 3 years ago

Does anyone knows if this package is not maintained anymore?

jamal-rahimzadegan commented 3 years ago

same here on rn 63

muriloneo commented 3 years ago

same here on rn 63

Check this: https://github.com/futurepress/epubjs-rn/issues/156#issuecomment-668756320