react-native-windows uses Microsoft.Windows.CppWinRT 2.0.210312.4 starting with 0.65. From 0.68 on, the version is decided by RNW itself so we no longer need to check whether the NuGet packages are missing.
Test Plan
What's required for testing (prerequisites)?
An app using react-native-windows 0.68 or higher
What are the steps to test it (after prerequisites)?
I couldn't get the example app to build at all. Instead, I added react-native-permissions to RNTA:
git clone https://github.com/microsoft/react-native-test-app.git
cd react-native-test-app
yarn
cd example
yarn add react-native-permissions
# Manually apply the changes to node_modules/react-native-permissions/windows/RNPermissions/RNPermissions.vcxproj
yarn install-windows-test-app --use-nuget
yarn windows
Compatibility
OS
Implemented
iOS
❌
Android
❌
Windows
✅
Checklist
[x] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I added a sample use of the API in the example project (example/App.tsx)
Summary
react-native-windows
uses Microsoft.Windows.CppWinRT 2.0.210312.4 starting with 0.65. From 0.68 on, the version is decided by RNW itself so we no longer need to check whether the NuGet packages are missing.Test Plan
What's required for testing (prerequisites)?
An app using
react-native-windows
0.68 or higherWhat are the steps to test it (after prerequisites)?
I couldn't get the example app to build at all. Instead, I added
react-native-permissions
to RNTA:Compatibility
Checklist
README.md
example/App.tsx
)