Fernando Sousa
Fernando Sousa

Reputation: 265

Fluent Design System - Devices Supported

I have an UWP app published in Microsoft/Windows Store (available in Windows 10 Desktop and Windows 10 Mobile), and I want update my app to Fluent Design System but I have an doubt. Fluent Design system dont "exists" in Windows 10 Mobile, right? (transparent background, etc.) With the update for the Fluent Design System, I want to change the look of my application (just make a few design changes), but I want devices that do not support the Fluent Design System (version of the anniversary update or before)to have access to the application but without the Fluent Design System changes.

It is possible? Do I have to create a new project?

Upvotes: 0

Views: 204

Answers (1)

Barry Wang
Barry Wang

Reputation: 1469

You don't need to create a new project.

As Shubham said you can create specific package for it. However as ARM package does not only specific to Phone device, it is not a perfect idea here.

Official doc has already shared us the right way for solving this kind of problem: https://learn.microsoft.com/en-us/windows/uwp/debug-test-perf/version-adaptive-apps

For coding part, you can perform API checks with the help of this API:

   bool isScannerDeviceContract_1_Present =
    Windows.Foundation.Metadata.ApiInformation.IsApiContractPresent
        ("Windows.Devices.Scanners.ScannerDeviceContract", 1);

For XAML, you can consider write Conditional XAML: https://learn.microsoft.com/en-us/windows/uwp/debug-test-perf/conditional-xaml

In this way you can write version adaptive apps.

Upvotes: 1

Related Questions