microsoft / microsoft/react-native-windows-samples

Help: simple app with a C# native module

Open
#979 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement samples
Dominant language
C#
Stars
544
Forks
218
PR merge metrics
No merged PRs in 30d

Description

Suggestion

Hi,

First, thanks for these powerful tools that you've spent so much time developing for everyone!

I'm quite new to RN, and have a Windows desktop app to dev with it. But I haven't been able to get my hands on a simple RNW app that makes uses of a custom (developed in situ) C# native module.

I could find examples of RNW apps, or C# native modules separately, but not the complete example with both, that would show me where each type of file go, to replicate, or even run directly with "npx react-native run-windows".

Can someone please show me a working example?

Thanks again

Platforms

Android, iOS, Windows

Sample code

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the separate React Native Windows app and C# native-module examples referenced in the issue, then determine how they can be combined. Done means a complete sample shows where each file belongs and runs with npx react-native run-windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, react-native
Domain
desktop-dev, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.