Skip to content

[iOS] Limited PhotoLibrary access permission not handled #481

@cihadturhan

Description

@cihadturhan

Unity version

6000.0.58f2

Unity editor platform

macOS

AVPro Movie Capture edition

Full

AVPro Movie Capture Version

5.3.4

Xcode version being used to build your Unity project.

26.0.2

Which iOS version(s) are you using?

15.8 – 18.6

Hardware

iphone 8 - 14 pro

Which capture component are you using?

Capture From Camera

Capture mode

Offline

Which output mode are you using?

Video file

Video codecs

H264

Audio source

Unity

Audio codecs

AAC

Any other component configuration

No response

The issue

Hello,
I have realized two issues with iOS permissions and one of them is seriously breaking recording, making it impossible to use again.

  1. I would assume it should not ask for "All Photos" (Photo Library Usage) permission with the following setup. It should just ask for "Add Photos Only" permission. I ask permission before recording starts similar to your script, but recorder asks another permission when recording ends.
  • Folder: Photo Library
  • Subfolder(s): `` (Empty String)
  1. On iOS, there are third option for photo library usage permission: "Selected Photos". When recording ends and user selects "Select Photos" option, it would be impossible to record video again in the same session. I think AVProMovieCapture never considers the third option which prevents users to record video multiple times in a run.

I'm preparing a repro and a video, so you can easily fix this.
I'd appreciate a lot if you could quickly fix it.

Thanks!

Log output

Metadata

Metadata

Assignees

Labels

Bug 🐛Something isn't workingfixedThe issue has been fixed and will be available in the next releaseiOS

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions