Skip to content

Releases: sbokatuk/SFMCSDK.Net.iOS

Release list

4.0.1.2

Choose a tag to compare

@github-actions github-actions released this 30 Jul 07:58
eb851e2

What's changed

Fixes SFMCSdk.Identity.Edit crashing on .NET 10 - no native framework change, SFMCSDK stays
at 4.0.1.

  • Identity.Edit now works on net10.0-ios26.0. The 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 ("Cannot create an
    instance of SFMCSDK.SFIdentityModifier because it is an abstract class"). The exported block is
    now internal and typed with plain NSObject, and the public
    Edit(Func<ISFIdentityModifier, ISFIdentityModifier>) wraps the native modifier in the
    protocol wrapper, whose members call the native selectors on every band.
  • API change: the updater's parameter and return type are now the protocol interface
    ISFIdentityModifier instead of the model class SFIdentityModifier. Lambda-based callers -
    SFMCSdk.Identity.Edit(modifier => { modifier.ProfileId = "…"; return modifier; }) -
    recompile unchanged.
  • The simulator smoke tests now round-trip a profile id through Identity.Edit, on both the
    net8.0-ios18.0 and net10.0-ios26.0 legs.

Full changelog: v4.0.1.1...v4.0.1.2

Packages

Bound against sfmc-sdk-ios 4.0.1, targeting net8.0-ios18.0, net9.0-ios18.0 and net10.0-ios26.0.

The first three components of 4.0.1.2 are the sfmc-sdk-ios 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
SFMCSDK.Net.iOS SFMCSDK 4.0.1.2
dotnet add package SFMCSDK.Net.iOS --version 4.0.1.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/.

4.0.1.1

Choose a tag to compare

@github-actions github-actions released this 30 Jul 05:20

What's changed

First release of the rebuilt binding, at the Unified SDK generation.

  • Binds SFMCSDK 4.0.1 (was 1.x in the retired sfmc-net-bindings-mobile packages), fetched
    from the sfmc-sdk-ios tag archive with every slice binary SHA-256-pinned.
  • The hand-curated ApiDefinitions.cs was ported 1.1.x → 4.0.1 by header diff and verified
    selector-by-selector against the 4.0.1 SFMCSDK-Swift.h; the packed binding passes live
    simulator smoke tests (version read, standalone initialization, state and identity).
  • Target frameworks net8.0-ios18.0, net9.0-ios18.0, net10.0-ios26.0 — real
    multi-targeting; the old net7-era sed-the-TFM packaging is gone, and the native payload now
    ships as one compressed .resources.zip.
  • Migrating from 1.x: identity is now SFIdentity edited through
    SFMCSdk.Identity.Edit(modifier => …); SFMCSdkPUSH/PushInterface moved to the sibling
    MarketingCloudSDK.Net.iOS package; the config builder gained per-module setters and
    InitializeSdk a per-module completion block; the namespace SFMCSDK is unchanged.

Packages

Bound against sfmc-sdk-ios 4.0.1, targeting net8.0-ios18.0, net9.0-ios18.0 and net10.0-ios26.0.

The first three components of 4.0.1.1 are the sfmc-sdk-ios 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
SFMCSDK.Net.iOS SFMCSDK 4.0.1.1
dotnet add package SFMCSDK.Net.iOS --version 4.0.1.1

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/.