Skip to content

refactor(macos/ios): remove fullscreen and transparent feature flags - #1780

Merged
FabianLars merged 5 commits into
devfrom
macos-private-apis
Jul 27, 2026
Merged

refactor(macos/ios): remove fullscreen and transparent feature flags#1780
FabianLars merged 5 commits into
devfrom
macos-private-apis

Conversation

@FabianLars

@FabianLars FabianLars commented Jul 22, 2026

Copy link
Copy Markdown
Member

Sooo, looking around on the internet (eg stackoverflow), people have been using these on app store builds for ages, including a few in tauri land.
Speaking of Tauri land, allowsPictureInPictureMediaPlayback has been unguarded since it was added and it did not cause issues.

Note, that we can only assume app store compatibility for when we set property values like you can see in the diff (eg via setValue_forKey ) - actually using private objc apis will cause issues!!

draft because done on windows and not tried on macos yet tested on macos 12.4 and 26

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Package Changes Through bc00664

There are 1 changes which include wry with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
wry 0.55.1 0.56.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Comment thread src/wkwebview/mod.rs
if attributes.transparent || attributes.background_color.is_some() {
let no = NSNumber::numberWithBool(false);
{
if cfg!(target_os = "ios") || version.0 > 10 || (version.0 == 10 && version.1 >= 14) {

@FabianLars FabianLars Jul 22, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I never saw a crashlog (from that single user) that made the version check required here for macOS. None of the other kvc uses ever caused version specific crashes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm.. let's give it a shot

@FabianLars
FabianLars marked this pull request as ready for review July 22, 2026 12:31
@FabianLars
FabianLars requested a review from a team as a code owner July 22, 2026 12:31
Comment thread README.md
pewsheen
pewsheen previously approved these changes Jul 22, 2026
@Legend-Master Legend-Master added platform: macOS platform: iOS type: breaking change This issue or pull request will introduce a breaking change and requires major version bump labels Jul 23, 2026

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have no means to test this, just an approval on the idea

@FabianLars
FabianLars merged commit bd1decc into dev Jul 27, 2026
25 checks passed
@FabianLars
FabianLars deleted the macos-private-apis branch July 27, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: iOS platform: macOS type: breaking change This issue or pull request will introduce a breaking change and requires major version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants