You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a problem trying to implement a readium-js-viewer in a React-native Webview (for android and iOS devices).
I got a basic HTML file with meta refresh :
http-equiv="refresh" content="0; url=reader.html?epub=epub_content/MyBook
While “Mybook“ is the name of my epub folder
But when it refreshes and goes to reader.html I got an infinite loop loading :
on the loading screen i printed a ‘ window.location.href ‘ that give me this url
: file:///android_asset/epub/reader.html (missing : ?epub=epub_content/MyBook )
My conclusion is that i cant get epub_content via parameter so my question is :
may i use readium-js-viewer_all_LITE.js without passing parrameter ? Just trigger a script that wil launch the reader ?
Or
Does someone has already make work an epub reader in a react-native webview ?
Question
Product * React-native
The text was updated successfully, but these errors were encountered:
I have a similar problem. I'm using the cloud reader lite version, and I'd like to hard code the epub path instead of passing it through the URL. Is there a way to do so in the config ?
Do you have to use the <meta http-equiv="refresh" content="0; url=..."> technique? Can you not set the URL to load programmatically on the native API side, or from inside the webview using Javascript?
Hello, I have a problem trying to implement a readium-js-viewer in a React-native Webview (for android and iOS devices).
I got a basic HTML file with meta refresh :
http-equiv="refresh" content="0; url=reader.html?epub=epub_content/MyBook
While “Mybook“ is the name of my epub folder
But when it refreshes and goes to reader.html I got an infinite loop loading :
on the loading screen i printed a ‘ window.location.href ‘ that give me this url
: file:///android_asset/epub/reader.html (missing : ?epub=epub_content/MyBook )
My conclusion is that i cant get epub_content via parameter so my question is :
may i use readium-js-viewer_all_LITE.js without passing parrameter ? Just trigger a script that wil launch the reader ?
Or
Does someone has already make work an epub reader in a react-native webview ?
Question
Product * React-native
The text was updated successfully, but these errors were encountered: