Skip to content

Screen Time Content Restrictions Disabling Reader WebView #325

Open
@brianzinken

Description

@brianzinken

Bug Report

What happened?

Using the Test app, the reader is prevented from loading ePub content when Screen Time content restrictions are enabled.

Expected behavior

Users of the app should be able to tap "Allow Website" or enter "localhost" into the approved website list to allow the reader to load content

How to reproduce?

Affected users are going to Settings > Screen Time > Content & Privacy Restrictions > Content Restrictions, then turning on the Web Content filter to allow only specified websites.
Until 16.5.1 was released, adding "localhost" to the list of approved websites would allow the reader to load all ePub content. But after the update, it no longer works.

Environment

  • Readium version:
    2.5.1

Development environment

macOS: 13.4.1
platform: x86_64
carthage: 0.39.0
Xcode 14.3.1
Build version 14E300c

Testing device

  • iOS version: 16.5.1c
  • Model (e.g. iPhone 11 Pro Max): iPhone 11
  • Is it an emulator? No

Additional context

  • Are you willing to fix the problem and contribute a pull request? Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions