-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Needs: Triage 🔍New issue that needs to be reviewed by the issue management team (label applied by bot)New issue that needs to be reviewed by the issue management team (label applied by bot)bug
Description
Problem Description
A React Native Windows app can run in Assigned Access mode. However, if the windows.aboveLockScreen extension is added to Package.appxmanifest, the app crashes when signing into the assigned access user.
We need this extension to use the LockApplicationHost API.
There is a section here on viewing logs for the application in Assigned Access.
This may be due to the fact this extension causes the app to run in a secondary view, but I'm unsure.
Steps To Reproduce
- Create a blank app.
- Add the following under
<Application>insidePackage.appxmanifest:
<Extensions>
<uap:Extension Category="windows.lockScreenCall" />
<uap:Extension Category="windows.aboveLockScreen" />
</Extensions>- Set up assigned access for the app as described here: https://learn.microsoft.com/en-us/windows/configuration/assigned-access/configure-single-app-kiosk?tabs=settings
- Sign into the new user, and watch it fail to start
Expected Results
The app should run in Assigned Access mode when built with the windows.aboveLockScreen extension, like it does when it is not.
CLI version
20.0.2
Environment
System:
OS: Windows 11 10.0.26100
CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1235U
Memory: 36.66 GB / 47.78 GB
Binaries:
Node:
version: 22.11.0
path: C:\nvm4w\nodejs\node.EXE
Yarn: Not Found
npm:
version: 10.9.0
path: C:\nvm4w\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions:
- 10.0.19041.0
- 10.0.22621.0
- 10.0.26100.0
IDEs:
Android Studio: Not Found
Visual Studio:
- 17.14.36310.24 (Visual Studio Community 2022)
Languages:
Java: Not Found
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not foundCommunity Modules
No response
Target React Native Architecture
Old Architecture (UWP) Only
Target Platform Version
= 10.0.26100
Visual Studio Version
Visual Studio 2022
Build Configuration
Release
Snack, code example, screenshot, or link to a repository
No response
Metadata
Metadata
Assignees
Labels
Needs: Triage 🔍New issue that needs to be reviewed by the issue management team (label applied by bot)New issue that needs to be reviewed by the issue management team (label applied by bot)bug