Microsoft adding support for running multiple instances of UWP Windows 10 apps
Developers will be able to enable the feature within their apps.
Microsoft will soon allow developers to support opening multiple instances of their Universal Windows Platform (UWP) apps on Windows 10. The feature will be available to all starting with the upcoming Redstone 4 update (version 1803), and it is currently supported in the latest Windows 10 Insider build and SDK (via Neowin).
In a new post on the Windows Dev Center, Microsoft offers examples of how developers can implement multi-instancing and how it will work. From Microsoft:
Create a multi-instance Universal Windows App
With Windows 10 version 1803, your UWP app can now opt-in to to support multiple instances. You can decide if a new instance of your app is launched, or an existing instance activated.
https://t.co/BCkcxIX4XC pic.twitter.com/wWZWjamxotCreate a multi-instance Universal Windows App
With Windows 10 version 1803, your UWP app can now opt-in to to support multiple instances. You can decide if a new instance of your app is launched, or an existing instance activated.
https://t.co/BCkcxIX4XC pic.twitter.com/wWZWjamxot— Windows Dev Docs (@WindowsDocs) February 22, 2018February 22, 2018
Besides allowing multiple instances of the same app to be opened, developers will also be able to customize the experience a bit. For example, in a case where two instances of an app are open, developers can specify whether they want to prevent each instance from working on the same file. Or, if an app is launched for a file that is already open, developers can force a redirect to the instance that already has the file open.
Multi-instance support has already been supported for some time in specific Microsoft UWP apps, including Calculator and OneNote. However, expanding the option to all developers will tackle one of the more frustrating issues with using UWP apps over their desktop counterparts.
For more, check out Microsoft's full developer documentation as well as the most recent Windows Community Standup.
Get the Windows Central Newsletter
All the latest news, reviews, and guides for Windows and Xbox diehards.
Dan Thorp-Lancaster is the former Editor-in-Chief of Windows Central. He began working with Windows Central, Android Central, and iMore as a news writer in 2014 and is obsessed with tech of all sorts. You can follow Dan on Twitter @DthorpL and Instagram @heyitsdtl.