Skip to content

2.1.0

Latest

Choose a tag to compare

@PushwooshCI PushwooshCI released this 19 Oct 18:09
d98518a

Both packages now ship a .NET 10 build next to the .NET 8 one, and the bundled native SDKs move to
the latest releases. The managed API is unchanged. Three things need a look before upgrading: the iOS
minimum is now 15.0, Pushwoosh.DotNet.Geozones has to be updated together with Pushwoosh.DotNet, and
PWInlineInAppView no longer shows anything.

Packages

  • Pushwoosh.DotNet: 2.1.0
  • Pushwoosh.DotNet.Geozones: 2.1.0

Native SDKs

  • Android SDK: 6.17.0 (was 6.10.0)
  • iOS SDK: 7.2.10 (was 6.7.18)

Before you upgrade

iOS minimum 11.0 → 15.0. The native Pushwoosh iOS SDK 7.x frameworks are built for iOS 15.0.
An app with a lower minimum would build and then crash at launch on iOS 11–14, so the package now
stops such a build with error PW0001. Set SupportedOSPlatformVersion for the iOS target to 15.0
or higher. The MAUI 8 project template sets 11.0, so a new MAUI 8 app has to raise it. The iOS lib
folder is renamed lib/net8.0-ios11.0 → lib/net8.0-ios15.0; NuGet does not pick folders by it, so
restore is not affected.

Update both packages together. Pushwoosh.DotNet.Geozones 2.0.x is linked against the iOS SDK
6.x and crashes at launch with the 7.x frameworks that Pushwoosh.DotNet 2.1.0 ships. An app that
updates only Pushwoosh.DotNet and keeps Geozones 2.0.x now stops at build time with error PW0002;
update Pushwoosh.DotNet.Geozones to 2.1.0 as well. Android is not affected.

PWInlineInAppView is obsolete and shows nothing. The native iOS SDK 7.x removed inline in-app
banners with no replacement. The type stays in Com.Pushwoosh.iOS, so code that references it still
compiles with an [Obsolete] warning, but the view is empty, and code typed on its
PWInlineInAppViewAppearance class no longer compiles. The Android InlineInAppView was already
removed in 2.0.0.

Added

  • .NET 10 assets in both packages: lib/net10.0, lib/net10.0-android36.0 and
    lib/net10.0-ios26.0. The net8 assets are unchanged apart from the iOS minimum above.
  • iOS: PushwooshCore and PushwooshBridge are bundled next to PushwooshFramework. In 7.x
    PushwooshFramework links them dynamically; nothing to change in the app.

Fixed

  • .NET 10 / MAUI 10 apps got NU1608 on every restore, fatal with warnings as errors.
    NuGet gave them the net8 build, whose Xamarin.AndroidX.Work.Runtime 2.9.0.1 caps
    Lifecycle.Runtime below 2.7.1 while MAUI 10 resolves 2.9.2.1. The net10 build depends on
    Work.Runtime 2.10.2.1 and the AndroidX versions MAUI 10 already resolves, so MAUI 10 and plain
    net10.0-android apps restore clean. A .NET 9 app still gets the net8 build and the same NU1608
    as with 2.0.1.

Changed (from the native SDKs)

  • Android: a tap on a pw_buttons action button also raises PushAccepted; the button id is not
    passed to C#.
  • Android: a deep link from an opened push reaches the activity that is already running
    (OnNewIntent) instead of a new copy of it.
  • Android: the inbox UI marks messages as read as soon as they are on screen, not only on tap.
  • Android and iOS: the SDK reports the device's push permission status to Pushwoosh.
  • iOS: a visible push that also carries content-available is opened only by a tap, not by the
    background wake-up, and is counted as received exactly once.
  • iOS: the SDK picks up the APNs device token itself when the app does not pass it on.