[ios] in lockdown mode the UI becomes unusable #635

Open
opened 2026-04-24 23:31:36 +02:00 by adam · 4 comments
Owner

Originally created by @papamoose on GitHub (Jul 20, 2023).

Steps to reproduce

  1. Settings > Privacy & Security > Lockdown Mode > Turn On Lockdown Mode
  2. Phone restarts then launch Audiobookshelf
  3. Note the UI text

Expected behaviour

  • UI should look the same as when the phone is NOT in lockdown mode.

Actual behaviour

  • menu items are not hidden inside menus.
  • font and size is different
  • words used instead of images

Environment data

Audiobookshelf Version: 0.9.65-beta client
V2.3.3 server

  • Android App?
  • iOS App?

iOS Issue

iOS Version: 16.5.1 (c)

iPhone model: 13 Pro

Images

lockdown mode on

image
image
image

lockdown mode off

image

Originally created by @papamoose on GitHub (Jul 20, 2023). ### Steps to reproduce 1. Settings > Privacy & Security > Lockdown Mode > Turn On Lockdown Mode 2. Phone restarts then launch Audiobookshelf 3. Note the UI text ### Expected behaviour - UI should look the same as when the phone is NOT in lockdown mode. ### Actual behaviour - menu items are not hidden inside menus. - font and size is different - words used instead of images ### Environment data Audiobookshelf Version: 0.9.65-beta client V2.3.3 server - [ ] Android App? - [x] iOS App? #### iOS Issue iOS Version: 16.5.1 (c) iPhone model: 13 Pro # Images ## lockdown mode on ![image](https://GitHub.com/advplyr/audiobookshelf-app/assets/686499/79f01698-07d5-4639-aec6-64de66c2470e) ![image](https://github.com/advplyr/audiobookshelf-app/assets/686499/dfd70911-d7fb-45f1-89b7-189ad8696cce) ![image](https://github.com/advplyr/audiobookshelf-app/assets/686499/d4351451-1a53-480d-bd2b-ef03cb732c8a) ## lockdown mode off ![image](https://github.com/advplyr/audiobookshelf-app/assets/686499/54d6d026-fa7e-4924-b69e-5633b20dd815)
Author
Owner

@benonymity commented on GitHub (Nov 12, 2023):

I don't think this is something that can be easily fixed on the app's side, as Apple seems to be blocking all custom fonts and icon packs in webView, which is an intentional security choice that would be challenging to get around

@benonymity commented on GitHub (Nov 12, 2023): I don't think this is something that can be easily fixed on the app's side, as Apple seems to be blocking all custom fonts and icon packs in webView, which is an intentional security choice that would be challenging to get around
Author
Owner

@benonymity commented on GitHub (Nov 12, 2023):

Probably related to a doubling down of a CORS policy

@benonymity commented on GitHub (Nov 12, 2023): Probably related to a doubling down of a CORS policy
Author
Owner

@advplyr commented on GitHub (Nov 12, 2023):

The fonts are stored locally, no external requests are made for fonts

@advplyr commented on GitHub (Nov 12, 2023): The fonts are stored locally, no external requests are made for fonts
Author
Owner

@benonymity commented on GitHub (Nov 12, 2023):

Gotcha, wouldn't be CORS then. Looks like they're flat-out disabling any sort of SVG font:

Previewing files in web browsers is also restricted with Lockdown Mode. For instance, JPEG 2000 images and SVG fonts, which are exclusively supported by Safari, are disabled so websites can’t use these formats to target iOS users. PDF previewing for websites is also disabled, as multiple PDF-related exploits have been found in the past.
link

@benonymity commented on GitHub (Nov 12, 2023): Gotcha, wouldn't be CORS then. Looks like they're flat-out disabling any sort of SVG font: > Previewing files in web browsers is also restricted with Lockdown Mode. For instance, JPEG 2000 images and SVG fonts, which are exclusively supported by Safari, are disabled so websites can’t use these formats to target iOS users. PDF previewing for websites is also disabled, as multiple PDF-related exploits have been found in the past. >[link](https://9to5mac.com/2022/07/25/lockdown-mode-ios-16-restricts-web-browsing/)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#635