Wire new native SDK public API: eventTrackingBehavior, singularDeviceId, loadingColor#147
Draft
claude[bot] wants to merge 2 commits into
Draft
Wire new native SDK public API: eventTrackingBehavior, singularDeviceId, loadingColor#147claude[bot] wants to merge 2 commits into
claude[bot] wants to merge 2 commits into
Conversation
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.
Requested by Ian Rumac · Slack thread
What this adds
SuperwallOptions.eventTrackingBehavior— controls how much event data is collected and sent (all/superwallOnly/none). This supersedes the now-deprecatedSuperwallOptions.isExternalDataCollectionEnabled, which still works and is mapped ontoeventTrackingBehaviorfor backward compatibility.singularDeviceId— a newIntegrationAttributefor passing a Singular device ID for attribution.PaywallOptions.loadingColor(Android) — sets the color of the paywall loading view. Note the native type is an Android color resource ID (@ColorRes Int?), so callers pass a resource id rather than an ARGB value.How
lib/src/public/(Superwall/options classes).pigeons/configure.dartwas regenerated (Dart 3.9.4 / pigeon 26.1.5) to produce the updated Dart, Kotlin, and Swift bridge.ir/bump-sdks-2.4.13); GitHub will auto-retarget it todeveloponce Bump native SDKs and release 2.4.13 #146 merges. Basing here keeps the diff scoped to just the new API.2.5.0.Generated by Claude Code