Skip to content

Releases

11.0.2.3

Choose a tag to compare

@github-actions github-actions released this 30 Jul 16:13
d8874dc

What's changed

A test-and-documentation revision on the same native line: MarketingCloudSDK.xcframework stays
11.0.2, AppGroupSDK.xcframework 1.0.0, the core pin SFMCSDK.Net.iOS 4.0.1.2, and the
binding's projected API is byte-for-byte what 11.0.2.2 shipped. What changed is what the tests
prove and what the documentation claims.

Fixed

  • The README quick-start did not compile. SetMarketingCloudServerUrl takes an NSUrl, not a
    string, and there is no Sfmc_setContactKey member — the binding projects the selector as
    SetContactKey, and at v11 the contact key is a core identity edit anyway. The snippet now shows
    the SFMCSdk.Identity.Edit form, and it was compiled against the packed binding before landing.
  • The AppGroupSDK load check could not fail. It probed for AGSAppGroupCoordinator, a guessed
    name that does not exist, and on not finding it logged "presence is proven by dyld not failing" and
    continued — so the framework could have been missing entirely and the check would still have
    passed. It now probes SFMCAppDeviceInfo, which AppGroupSDK-Swift.h declares as a real exported
    ObjC class (SWIFT_CLASS_NAMED("AppDeviceInfo")), and a null handle is a failure.
  • The initialization smoke test asserted nothing. Its credential-free fallback was
    state.Contains("pushfeature"), and the core reports that module whether or not a push config was
    ever supplied — so it passed against a bare stub. It now parses the state JSON and asserts the
    modules object, the pushfeature entry and its per-module shape, which fails on a real upstream
    rename or restructure. The reported status is logged verbatim.
  • The README-version check ignored the core pin. Its pattern only matched this repository's own
    package ids, so a SFMCSDK.Net.iOS pin in the README could name any version at all. It is now
    checked against SfmcCorePackageVersion.
  • The device-test app shared its bundle id with the sibling SFMCSDK.Net.iOS repository
    (com.sbokatuk.sfmcsdknet.devicetests), so installing one replaced the other on a shared simulator
    and a local run of both repositories' suites could launch the wrong app. This one is now
    com.sbokatuk.mcsdknet.devicetests, matching its own sample's prefix.

Documentation

  • The README claimed the simulator tests prove "the module-configured initializeSdk completion
    fires with real statuses". They do not, and cannot without credentials: measured on 11.0.2, an
    unprovisioned tenant leaves every module reading "status": "inactive", the completion block never
    fires, and nothing in either state JSON reflects the configuration that was passed. The README and
    the test suite's own summary now say what is actually proven, and name what belongs to the manual
    checklist instead.
  • Removed copy-paste residue from the sibling DatadogNet repository: a .gitignore comment about
    "eleven Datadog xcframeworks", a /Binding/ entry described as Objective Sharpie scratch output
    (this repository's headline rule is that Sharpie is never used), a duplicated artifacts/ block,
    and a NuGet.config comment naming DatadogNet packages.

Upgrading

Nothing to do — no API changed. 11.0.2.2 consumers can stay on it; the difference is in this
repository's own tests and documentation.

Full changelog: v11.0.2.2...v11.0.2.3

Packages

Bound against MarketingCloudSDK-iOS 11.0.2, targeting net8.0-ios18.0, net9.0-ios18.0 and net10.0-ios26.0.

The first three components of 11.0.2.3 are the MarketingCloudSDK version; the fourth is
this repository's binding revision, which advances when the bindings or packaging change
while the native binaries stay put.

Package Wraps NuGet
MarketingCloudSDK.Net.AppGroupSDK.iOS AppGroupSDK 11.0.2.3
MarketingCloudSDK.Net.iOS MarketingCloudSDK 11.0.2.3
dotnet add package MarketingCloudSDK.Net.iOS --version 11.0.2.3

Licensing

The binding code is MIT; the bundled native binaries are BSD-3-Clause, as built and
published by Salesforce. Each package ships both texts under licenses/.

11.0.2.2

Choose a tag to compare

@github-actions github-actions released this 30 Jul 09:08
88810c4

What's changed

Re-pins the SFMC SDK core to SFMCSDK.Net.iOS 4.0.1.2 - no native framework change: the
MobilePush framework stays at 11.0.2 and its AppGroupSDK payload at 1.0.0, and this
repository's own bindings and packaging are unchanged.

  • SFMCSdk.Identity.Edit no longer crashes on net10.0-ios26.0. The core's editWithIdentity:
    block was typed with the abstract [Model] class SFIdentityModifier, which the .NET 10
    managed static registrar refuses to instantiate for the native modifier the block receives;
    4.0.1.2 exports it through the protocol wrapper instead. Worth re-pinning behind rather than
    waiting for the next native line: the identity editor is how a v11 app sets its contact key,
    as the sample in this repository does.
  • API change, in the core package: the updater's parameter and return type are now the
    protocol interface ISFIdentityModifier rather than the model class SFIdentityModifier.
    Lambda-based callers - SFMCSdk.Identity.Edit(modifier => { modifier.ProfileId = "…"; return modifier; }) - recompile unchanged.
  • 11.0.2.1 was tagged but never published: its release run packed before SFMCSDK.Net.iOS
    4.0.1.1 reached nuget.org, so the exact-version core dependency could not restore. This is the
    first published build of the v11 binding, and everything the 11.0.2.1 notes describe applies
    to it.

Full changelog: v11.0.2.1...v11.0.2.2

Packages

Bound against MarketingCloudSDK-iOS 11.0.2, targeting net8.0-ios18.0, net9.0-ios18.0 and net10.0-ios26.0.

The first three components of 11.0.2.2 are the MarketingCloudSDK version; the fourth is
this repository's binding revision, which advances when the bindings or packaging change
while the native binaries stay put.

Package Wraps NuGet
MarketingCloudSDK.Net.AppGroupSDK.iOS AppGroupSDK 11.0.2.2
MarketingCloudSDK.Net.iOS MarketingCloudSDK 11.0.2.2
dotnet add package MarketingCloudSDK.Net.iOS --version 11.0.2.2

Licensing

The binding code is MIT; the bundled native binaries are BSD-3-Clause, as built and
published by Salesforce. Each package ships both texts under licenses/.