Skip to content

Use UnityAPI on iOS when using Swift trampoline - #459

Open
aurimasc wants to merge 3 commits into
masterfrom
ios-use-unity-api
Open

Use UnityAPI on iOS when using Swift trampoline#459
aurimasc wants to merge 3 commits into
masterfrom
ios-use-unity-api

Conversation

@aurimasc

@aurimasc aurimasc commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

https://jira.unity3d.com/browse/PLAT-21965
Change integration with the Swift trampoline to use Unity public API directly from Objective-C++ code without swift bridge.
The new implementation is much cleaner and safer, with a price that we lose compatibility with Unity 6.5, but that was accepted.

Tested on simulator using 6.6 and trunk that remote notifications have been correctly subscribed to and device token has been received.

@u-pr u-pr Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Harness Review

Ship it

The Swift-project notification observer integration now uses Unity’s public Swift API directly, and I examined the affected lifecycle path, package metadata, and the version-specific Xcode post-processing logic. The stated Unity 6.6 boundary is consistent with the direct header dependency; no actionable defects were substantiated.

Reviewed commit 8aa6e61

🤖 Helpful? 👍/👎

@aurimasc
aurimasc requested review from a team August 18, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants