diff --git a/content/docs/ios/changelog.mdx b/content/docs/ios/changelog.mdx index b21c603..31186bb 100644 --- a/content/docs/ios/changelog.mdx +++ b/content/docs/ios/changelog.mdx @@ -7,6 +7,16 @@ description: "Release notes for the Superwall iOS SDK" The changelog for `SuperwallKit`. Also see the [releases](https://github.com/superwall/Superwall-iOS/releases) on GitHub. +## 4.16.1 + +### Enhancements + +- Clarifies that `IntegrationAttribute.onesignalId` should be set to the OneSignal User ID used by the OneSignal integration. + +### Fixes + +- Makes sure that the compiler directive is correct for billing plan types so that the SDK builds in Xcode version 26.4. + ## 4.16.0 ### Enhancements diff --git a/content/docs/ios/index.mdx b/content/docs/ios/index.mdx index 094bc43..c5d85b6 100644 --- a/content/docs/ios/index.mdx +++ b/content/docs/ios/index.mdx @@ -135,6 +135,6 @@ If you have feedback on any of our docs, please leave a rating and message at th If you have any issues with the SDK, please [open an issue on GitHub](https://github.com/superwall/superwall-ios/issues). diff --git a/content/docs/ios/sdk-reference/index.mdx b/content/docs/ios/sdk-reference/index.mdx index 6f06ac4..273bfb5 100644 --- a/content/docs/ios/sdk-reference/index.mdx +++ b/content/docs/ios/sdk-reference/index.mdx @@ -101,6 +101,6 @@ If you have feedback on any of our docs, please leave a rating and message at th If you have any issues with the SDK, please [open an issue on GitHub](https://github.com/superwall/superwall-ios/issues). diff --git a/content/docs/ios/sdk-reference/setIntegrationAttributes.mdx b/content/docs/ios/sdk-reference/setIntegrationAttributes.mdx index f5b4fe3..9fbeba4 100644 --- a/content/docs/ios/sdk-reference/setIntegrationAttributes.mdx +++ b/content/docs/ios/sdk-reference/setIntegrationAttributes.mdx @@ -124,6 +124,7 @@ Superwall.shared.setIntegrationAttributes([ .amplitudeUserId: "user123", .mixpanelDistinctId: "distinct456", .firebaseInstallationId: "abc123", + .onesignalId: "onesignal-user-id", .custom("myCustomKey"): "customValue" ]) ``` @@ -149,6 +150,7 @@ Common integration attributes include: - `.firebaseInstallationId` - Firebase installation ID (4.10.8+) - `.appstackId` - Appstack identifier (4.12.11+) - `.singularDeviceId` - Singular device identifier (SDID) (4.15.4+) +- `.onesignalId` - OneSignal User ID (`onesignal_id`) for the user. Do not use the legacy OneSignal Player ID. - `.custom(String)` - Custom attribute key ## Related