Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
This article describes how to build Microsoft Dynamics 365 Commerce Store Commerce apps for Android, iOS, and macOS with Hardware station extensibility.
- As of the Commerce version 10.0.41 release, the Store Commerce app for Android supports Hardware station extensibility.
- As of the Commerce version 10.0.44 release, the Store Commerce app for iOS supports Hardware station extensibility.
- As of the Commerce version 10.0.49 release, the Store Commerce app for macOS is available through the Store Commerce SDK.
This functionality enables the following capabilities:
- Customers can build extensions to support their various Hardware station requirements.
- Organizations with fiscal integration requirements can use Android mobile devices with fiscal printers.
- Customers can create their own Android Application Package (APK) or iOS App Store Package (IPA) and distribute them through their respective app stores or internal channels.
Prerequisites
To build the Store Commerce app for Android or iOS with hardware station extensibility, first install the .NET Multi-platform App UI workload in Visual Studio 2022.
Build the Store Commerce app for Android or iOS by using the Store Commerce mobile SDK
To build the Store Commerce app for Android or iOS by using the Store Commerce mobile software development kit (SDK), follow these steps:
- Go to the Microsoft Lifecycle Services Shared Asset Library.
- Under Retail Self-service package, download the latest Store Commerce for Android package (version 10.0.41 onwards for Android extensibility, version 10.0.44 onwards for iOS extensibility).
Note
The Store Commerce for Android package includes both Android and iOS dependencies. There's no separate iOS package.
- Unzip the Store Commerce for Android package, and then copy the
packagesfolder to your repository root. - Next, modify the
nuget.configfile to include thepackagesfolder as a package source. Under the<packageSources>node, add<add key="Dynamics365Commerce-Mobile-Dependencies" value="./packages" />. - Change the app name displayed in the Android launcher or iOS home in the mobile app project by setting the
ApplicationTitlevalue. - Change the package name in the mobile app project by setting the
ApplicationIdvalue. - Build the mobile samples solution.
Tip
For the latest sample project and detailed build and packaging instructions for Android, iOS, and macOS, see StoreCommerceMobile README in the Dynamics 365 Commerce InStore repository.
Platform-specific configurations
Android
- If you configure an Android emulator, you can start debugging the app directly from Visual Studio 2022.
- If you don't want to develop an Android app, comment out the
net8.0-androidtarget framework (<TargetFramework>net8.0-android</TargetFramework>) in the mobile app project.
iOS
- If you're developing on Windows, you must pair a Mac for iOS development as described in Pair to Mac for iOS development.
- If you don't want to develop an iOS app, comment out the
net8.0-iostarget framework (<TargetFramework>net8.0-ios</TargetFramework>) in the mobile app project.
macOS
- Building the macOS app requires a Mac that runs macOS 26 or later and has the required Xcode and .NET MAUI components installed. The built app runs on macOS 15 or later.
- To build the macOS app, ensure the
net10.0-maccatalysttarget framework is included in the mobile app project. - If you don't want to develop a macOS app, comment out the
net10.0-maccatalysttarget framework (<TargetFramework>net10.0-maccatalyst</TargetFramework>) in the mobile app project.