From eeadb080af7a8f9504381f4dbbe67c5cc658206e Mon Sep 17 00:00:00 2001 From: rh389 Date: Sat, 6 Oct 2018 18:53:00 +0100 Subject: [PATCH] Add docs for windows linking --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c16b1cd..c0c44a0 100644 --- a/README.md +++ b/README.md @@ -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` returned by the `Packages` method