See ../README.md for more details of this sample.
Note: Don't build your own projects directly out of this sample. When you publish a native module (as source), you'll want to create a new project with the correct metadata. This will also make sure that you're using unique identifiers in your project files to avoid conflicts with other native modules.
First, make sure you've met the React Native Windows System Requirements.
Then, install the module's dependencies with yarn and build the TypeScript:
yarn install
yarn prepareTo run the example app (targeting the New Architecture) and see that the module works:
yarn example windowsAlternatively, to run the old example app (targeting the Old Architecture) and see that the module works:
yarn example-old windows
First run the Setup steps above. Then run the UpgradeSmokeTest.ps1 script with the target RNW version (usually latest):
..\..\..\.github\scripts\UpgradeSmokeTest.ps1 latest $True $True $TrueThen call the following to update the JS and codegen with:
yarn prepare
yarn codegen-windowsFinally, build and verify both example apps as per the Run steps above. If both apps work without issue, then go ahead and submit the PR with your changes.