-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello #2
Comments
Dear Stanislav Shemiakov, Your effort is awesome! I cannot run Example code on iOS 14 because of issue calling js functions Thanks alot! |
@bluetechsky Hello, this project is pretty much abandoned for quite a long time - I had a lot of issues with JS functions too, and I don't have much experience with JS, so I don't think I can help with that, sorry... |
@OrbitalMan Thank you very much for your reply! |
@bluetechsky uuuuhh umm, I guess iOS 12-ish? It was a couple years ago... |
@OrbitalMan okeiy, thank you very much for your information. I will take some time to dig into it. Thanks again for your time! |
No problem! Good luck with this! |
@bluetechsky did you able to figure out the solution |
Hello, sorry if this is late. Recently downloaded @OrbitalMan build and integrated it as a local library in pod file. Tested in iOS 15.5 As it was mentioned the javascript functions were not working which lead to the UI not working. Checked through the original code and found that the JS file and CSS file used for the UI were not inserted into the HTML. Here is the working solution. Check for FolioReaderCenter.swift file and add this code below "//Insert viewport" comment let mediaOverlayStyleColors = ""(self.readerConfig.mediaOverlayColor.hexString(false))", "(self.readerConfig.mediaOverlayColor.highlightColor().hexString(false))"" // Inject CSS let toInject = "\n(cssTag)\n(jsTag)\n" This will solve your problem. |
Dear Stanislav Shemiakov,
I saw your PR
FolioReader/FolioReaderKit#388
Your effort is awesome!
I'd like to ask could you please run on iOS 14?
I cannot run Example code on iOS 14 because of issue calling js functions
Thanks alot!
Hung
The text was updated successfully, but these errors were encountered: