Skip Navigation

BlackBerry Dynamics SDK for Microsoft.Maui
12.0

What's new in the
BlackBerry Dynamics SDK for Microsoft.Maui
version 12.0

This release was updated with the latest
BlackBerry Dynamics Bindings for Microsoft.iOS
and
BlackBerry Dynamics Bindings for Microsoft.Android
.
The
BlackBerry Dynamics SDK
supports
Microsoft.Maui
for
Android
and
iOS
.
Microsoft.Maui
is a framework that developers can use to create user interfaces that can be used across platforms. For more information, see About the
BlackBerry Dynamics SDK for Microsoft.Maui
in the BlackBerry Dynamics Bindings for .NET Development Guide and the BlackBerry Dynamics SDK for Microsoft.Maui API Reference.
Feature
Description
.NET upgrade
.NET has been upgraded to .NET 7.0 in this release.
Changes to NuGet ProGuard
BlackBerry Dynamics
library dependencies
BlackBerry Dynamics Bindings for Microsoft.Android
now includes
BlackBerry Dynamics
AAR libraries containing its own ProGuard rules file, so using a separate ProGuard file with
BlackBerry Dynamics
related rules on the application level is not required anymore. For more information, see the ProGuard rules file in the samples and https://developer.android.com/build/shrink-code#configuration-files.
Support for Central Package Management
Central Package Management (CPM) is now supported, so you can handle all packages in one place and have better control over implicitly referenced Maui packages, solving NU1605 errors and NETSDK1023 warnings. For more information, see Directory.Packages.props and Directory.Build.props in the samples folder and https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management.
API updates
The BBDAppConfigKeyAllowWearable property was added to IBBDXamariniOS. For more information, see the BlackBerry API reference.

Known issues

On
Android
, if an app displays dialog from an activity that was already destroyed, the app will stop functioning.
Workaround
: Developers can use the custom Dialog and ActionSheet implementations found in the PageBase.cs file of the AppKineticsService and SampleAppSuite sample apps in the
BlackBerry Dynamics SDK for Microsoft.Maui
package. For more information, see 15024
The UI Preferences for
Microsoft Visual Studio
experiences issues for SingleProject type projects and projects where multiple or specific mobile OS target versions are specified. Developers should always use source code in the .csproj file for reference. For more information, see 10316394.
User interface tests on
iOS
16 are not yet working due to Xamarin packages incompatibility. For details, developers should refer to the information from Microsoft https://github.com/microsoft/appcenter/issues/2475 to see when this issue is resolved and they can update relevant packages.
Due to a
Microsoft Visual Studio
for
Mac
packaging issue, a runtime error might occur after switching to library level ProGuard dependencies.
Workaround
: Clean bin/obj project folders, clean project, restore dependencies, rebuild, and then deploy the application. In addition, when switching between
Microsoft Visual Studio
for
Mac
and your terminal (CLI dotnet build), the bin/obj folders must be cleaned or the "--no-incremental" parameter must be used. A build time warning has been added to the sample applications to pay special attention to this issue.