Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.

Application crashes in ios devices on increasing the font size #22

@danielweck

Description

@danielweck

Originally posted by @vanisuthamathi
at:
readium/readium-js#58

Steps to Reproduce:

  1. Initialize readium
  2. Read any epub of size more than 1MB
  3. Increase the font size inside the reader by updating the settings
    Below is the code snippet:
    • Initial fontSize = 100
    • On font increase = font size +10
    • On font decrease = font size - 10
    • readium.reader.updateSettings({"fontSize": fontSize)

Observation:

Application terminates with the memory warning error

This is works fine in Android devices and chrome browsers. This crashes only in the ios devices. I have tried with both develop and release0.14 readium versions. Any suggestions you can provide for cleaning up the memory/Turning off the events before increasing the font size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions