Skip to content

Commit

Permalink
Add docs for windows linking
Browse files Browse the repository at this point in the history
  • Loading branch information
robhogan committed Oct 6, 2018
1 parent 01c852d commit eeadb08
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ generateSecureRandom(12).then(randomBytes => console.log(randomBytes));

#### Windows

TODO
See [react-native-windows](https://github.com/Microsoft/react-native-windows)

1. In Visual Studio add `node_modules/react-native-securerandom/windows/RNSecureRandom.sln` folder to your solution, and reference from your app.
2. Open up your app's `MainPage.cs`
- Add `using Net.Rhogan.RNSecureRandom.RNSecureRandom;` to the usings at the top of the file
- Add `new RNSecureRandomPackage()` to the `List<IReactPackage>` returned by the `Packages` method

0 comments on commit eeadb08

Please sign in to comment.