From 30dc019e1c784443506d9e10ecceafb16fd47dbe Mon Sep 17 00:00:00 2001 From: kalashshah <202051096@iiitvadodara.ac.in> Date: Fri, 3 May 2024 16:40:56 +0530 Subject: [PATCH 1/2] docs: react native sdk readme fix --- packages/reactnative/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/reactnative/README.md b/packages/reactnative/README.md index 79d95e063..4147ee905 100644 --- a/packages/reactnative/README.md +++ b/packages/reactnative/README.md @@ -76,13 +76,13 @@ npm install @pushprotocol/react-native-sdk #### Install the peer dependencies ```bash -yarn add react-native-randombytes@3.6.1 react-native-webview@13.2.2 react-native-webview-crypto@0.0.25 +yarn add react-native-randombytes react-native-webview react-native-webview-crypto react-native-fast-openpgp ``` or ```bash -npm install react-native-randombytes@3.6.1 react-native-webview@13.2.2 react-native-webview-crypto@0.0.25 +npm install react-native-randombytes react-native-webview react-native-webview-crypto react-native-fast-openpgp ``` #### Nodeify the crypto packages From 68c9941ae4a7c4ac881917232720e89e9959c3c3 Mon Sep 17 00:00:00 2001 From: kalashshah <202051096@iiitvadodara.ac.in> Date: Mon, 6 May 2024 15:15:58 +0530 Subject: [PATCH 2/2] docs(rn): add peer dependencies to installation instructions --- packages/reactnative/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/reactnative/README.md b/packages/reactnative/README.md index 4147ee905..310cd1308 100644 --- a/packages/reactnative/README.md +++ b/packages/reactnative/README.md @@ -76,13 +76,13 @@ npm install @pushprotocol/react-native-sdk #### Install the peer dependencies ```bash -yarn add react-native-randombytes react-native-webview react-native-webview-crypto react-native-fast-openpgp +yarn add react-native-randombytes react-native-webview react-native-webview-crypto react-native-fast-openpgp react-native-get-random-values text-encoding crypto ``` or ```bash -npm install react-native-randombytes react-native-webview react-native-webview-crypto react-native-fast-openpgp +npm install react-native-randombytes react-native-webview react-native-webview-crypto react-native-fast-openpgp react-native-get-random-values text-encoding crypto ``` #### Nodeify the crypto packages