Repository navigation
4.0.1.2
What's changed
A façade-only revision on the same native line: SFMCSDK stays 4.0.1 on iOS and sfmcsdk 3.1.1
on Android, and the pinned bindings are unchanged (SFMCSDK.Net.iOS 4.0.1.2,
SFMCSDK.Net.Android 3.1.1.1).
Added
IsSupportedandIsInitializedonISfmcSdkClient— the two members that answer on every
target framework instead of throwing, so shared code has something to branch on. Previously the
only readback wasDiagnosticState, which the docs forbid parsing and which throws on the neutral
heads, so "is it up yet?" could not be answered from shared code at all. Neither is the one-shot
guard: after a failed initializationIsInitializedstays false while the guard stays claimed.NullSfmcSdkClient— the no-op implementation the README used to tell consumers to write
themselves, for MAUI heads with no SDK and for tests. Its argument validation mirrors the real
façade member for member, so it hides platforms without hiding caller bugs.build/RepinPackages.sh— the re-pin helper the upstream-drift issue template has been
pointing at under a name that did not exist (BumpNativeVersion.sh). It rewrites the props and
reports what the README still owes, leavingCheckReadmeVersions.shas the gate.
Documentation
- The MAUI target-framework guidance said "target net9 or net10" and then explained that MAUI 9
cannot work — it is net10 for an Android head, net8/net9 fine for an iOS-only app. - Stated the relationship with
MarketingCloudSDK.Netin both directions: an app using MobilePush
needs only that package, and must never call this package'sInitializeAsync, because the
MobilePush façade already configures the core with its module attached. - Added the stale-
artifacts/troubleshooting entry: a locally packed nupkg keeps being resolved
under a version that also exists on nuget.org, and the NuGet global-packages cache spreads it to
every sibling repository.
Upgrading
Source-compatible for consumers. Implementers of ISfmcSdkClient — a hand-written test fake — must
add IsSupported and IsInitialized, or switch to NullSfmcSdkClient.
Full changelog: v4.0.1.1...v4.0.1.2
Packages
Built against SFMCSDK.Net.iOS 4.0.1.2 and SFMCSDK.Net.Android 3.1.1.1 — SFMCSDK 4.0.1 on iOS and sfmcsdk 3.1.1 on Android.
The version names the iOS line, because Salesforce releases the two native
SDKs on separate cadences and they never share a version number. The fourth
component is this repository's own revision.
| Package | Target frameworks | NuGet |
|---|---|---|
SFMCSDK.Net |
net8.0, net8.0-android34.0, net8.0-ios18.0, net9.0, net9.0-android35.0, net9.0-ios18.0, net10.0, net10.0-android36.0, net10.0-ios26.0 |
4.0.1.2 |
dotnet add package SFMCSDK.Net --version 4.0.1.2
Licensing
The code in this repository is MIT, and that is the whole package. It depends
on SFMCSDK.Net.Android and SFMCSDK.Net.iOS, whose packages ship native SFMC
SDK artifacts built by Salesforce; each of those declares
MIT AND BSD-3-Clause and ships both texts under licenses/.