dotnet / dotnet/maui

Screenshot doesn't work in older IOS devices

Open
#4,835 7 comments 0 reactions 0 assignees View on GitHub
area-essentials p/3 platform/ios s/triaged t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

The Essentials screenshot feature is using api that doesn't exist in IOS12 or lower or if a user doesn't use Scenes.

After this issue is fixed we need to enable this test for other api versions on device tests #4833

https://github.com/dotnet/maui/pull/4833/files#diff-65433907ac65c89edf59c6e515ae2da6fb139f3d9d47ee4764531b0648c899bcR17

### Steps to Reproduce

Open the sample app
Go to screenshot screen on iOS 12 device

### Version with bug

Preview 13 (current)

### Last version that worked well

Unknown/Other

### Affected platforms

iOS

### Affected platform versions

iOS 12 and lower

### Did you find any workaround?

_No response_

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the Essentials sample app and its screenshot screen, then inspect the referenced pull request #4833 and its device-test change. Reproduce the failure on an iOS 12-or-lower device and on a device without Scenes. Done means the screenshot feature works on those configurations and the test can be enabled for the other API versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, ios
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.