After you do this, you can work with iOS and Mac from Visual Studio on the Windows computer. When you have completed installing Xamarin on both the Windows and Mac computers, follow the instructions in Connecting to the Mac ().
Add your Apple ID using the instructions described in Adding your account to Xcode ().ĭownload and install Xamarin by following the instructions in Installing and configuring Xamarin.iOS (). Set up and install Xamarin on iOSįor more detailed steps on installing Xamarin on iOS, refer to Xamarin.iOS installation.ĭownload and install Xcode from. For instructions, see Connecting to the Mac. If you're developing on Windows and using the Mac just for building the iOS app then you must connect the computer that runs Windows and the Mac. You should be able to sign in and activate the device.īuild the iOS Retail hybrid app Connecting to a Mac
Using the Visual Studio Emulator for Android or any emulator for Android, launch the POS hybrid app and enter the Commerce Scale Unit URL and save.
Build and deploy using the emulator and verify that everything appears as it should. In the Retail SDK folder, open SampleExtensions\HybridApp\Android\solution.
If needed, download and install the latest version.
You can also search for Xamarin in the Options dialog box. If you do not see an option for Xamarin in Tools > Options, review your installation, or try restarting Visual Studio. Check for Xamarin updates by clicking Tools > Options > Xamarin or Tools > Options > Xamarin > Other. When installation is complete, launch Visual Studio and sign in with your Microsoft account (this is the same account that you use with Windows). We recommend that you use Visual Studio 2019 or later to build the Android app. To set up and install Xamarin on Windows, go to Windows Installation. The Retail SDK is available in all developer VMs that are provisioned for using Microsoft Dynamics Lifecycle Services (LCS).įor more information about Xamarin, see the Xamarin documentation. You must copy the Retail software development kit (Retail SDK) on all the computers that you use for development. If your Mac is a shared team resource, you might want to use a Mac just for the build process. Although you can do development for both Android and iOS on a computer that runs Microsoft Windows, you must use a Mac to complete the build for the iOS platform. To build the iOS app, you must have a Mac that has Xamarin installed. The app is built by using Xamarin, which means that you must install Xamarin on your development computer. The Retail hybrid app supports the Android and iOS phone platforms. This is a Retail hybrid app shell for Android and iOS which will internally load the Cloud POS. Inside the shell is a Web view controller that loads the cloud POS, which is based on the Commerce Scale Unit URL specified in the settings of this app. Retail hybrid app is shell built using Xamarin.
This topic shows how to build and run the Retail POS hybrid app on Android and iOS devices.