0.2.4 - Bridge callback fixes, post-build pod install, CI workflows#1
Merged
Conversation
* iOS `LocalNotification` serialization no longer references a non-existent `id` field.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
_SuperwallBridge_ShowAlertABI mismatch (3 pointers vs C#(string)) — now takes a singlealertJsonstring matching the C# extern. iOS additionally fires theonCloseCallbackIdimmediately so the pending C# callback is cleaned up.showAlertwas readingactionCallbackId/closeCallbackId, but C# emitsonActionCallbackId/onCloseCallbackId— alert callbacks never fired. Fixed.Superwall.shared.options—SetLocalResourcesnow stashes the resource map and applies it viaSuperwallOptions.localResourcesduringConfigure(must be called beforeConfigureon iOS; logs a warning otherwise).pod installnow locatespodacross common install paths (/usr/local/bin,/opt/homebrew/bin, rbenv/asdf shims,which podunder a login shell) and runs under a login shell so user PATH from~/.zshrc/~/.bash_profileis honored. Clear manual-install instructions on failure.pod installnow setsLANG=en_US.UTF-8andLC_ALL=en_US.UTF-8in the subprocess so CocoaPods no longer crashes withEncoding::CompatibilityErrorwhen Unity is launched from Finder (inherits launchd's emptyLANG).Tests
Tests/Runtime/BridgeContractTests.cscovering the async-response contract, Configure success/failure paths, and the delegate/handler payload shapes for the regressions fixed in this release.CI
.github/workflows/native.yml— builds the iOS Swift bridge via SPM on macOS and the Android.androidlibvia Gradle on Ubuntu, on every push and PR. No Unity license required..github/workflows/unity.ymlfor full game-ci Unity build + test runs, documented with the licensing secrets and wrapping-project steps needed to enable it.ci~/(tilde-suffixed so Unity ignores it during package import — never copied into player builds).Compatibility
6000.4to6000.3.