Skip to content

Commit e122de3

Browse files
authored
Merge pull request #22 from numandev1/chore/update-docs
chore: update docs
2 parents 9e3763f + a097998 commit e122de3

File tree

2 files changed

+23
-13
lines changed

2 files changed

+23
-13
lines changed

README.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
<div align="center">
2-
<img src="./media/key.png" height="100" />
2+
<h1 align="center">🔐 Make undecryptable .ENVs variables</h1>
33
</div>
44

5-
<br />
6-
<br />
5+
### Why should we use react-native-keys over react-native-config?
76

8-
The fastest Securing **Keys/Envs** library for React Native.
7+
We should use **react-native-keys** instead of **react-native-config** because **react-native-keys** gives guarantee of undecryptable **envs** whereas **react-native-config** **envs** can be decompile and hack
98

9+
<div align="center">
10+
<img align="right" width="250" style="margin-right: 55px;" src="./media/key.png">
11+
</div>
12+
13+
Making undecryptable **Envs** library for React Native.
14+
15+
- 🔐 Made for **undecryptable** ENVs on react native apps
16+
- 🗄️ Manage different enviroments (**dev**, **staging**, **production**)
1017
- 🏎️ Up to 200x faster than all other solutions
11-
- ⚡️ Lightning fast implementation with pure C++ and JSI
18+
- ⚡️ Lightning fast implementation with pure C++ and [**JSI**](https://github.com/react-native-community/discussions-and-proposals/issues/91) instead of the "old" Bridge
1219
- 🧪 Well tested in JS and C++
13-
- 🔐 Made for securing keys on react native apps
14-
- 🗄️ Manage different enviroments (**dev**, **staging**, **production**)
1520

16-
we are using [JSI](https://reactnative.dev/architecture/glossary#javascript-interfaces-jsi) for fast performance and [JNI](https://reactnative.dev/architecture/glossary#java-native-interface-jni) + encryption keys in c++ compiled file
21+
We can Manage **secure**(undecryptable) and **public** enviroment through **react-native-keys** supporting **iOS** and **Android**
1722

18-
Manage local **secure** and **public** enviroment through react-native-keys supporting iOS and Android
23+
**secure:** Secure environment variables with the highest encryption which are undecryptable
1924

20-
**secure:** Secure enviroment use JNI with encryption to secure keys which we cannot easily decompile or hack
21-
**public:** Public enviroment use JSI to access keys from native side like Java and ObjectiveC which can be decomile or hack
25+
**public:** Public environment variables are stored on the native side like Java and Objective-C which can decompile or hack.
26+
**Note**: in public, we mostly store `Bundle Id`, `Package Id`, `App Name` or any other **AndroidManifest.xml** env
2227

2328
### Would you like to support me?
2429

@@ -41,7 +46,7 @@ yarn add react-native-keys
4146

4247
## Basic Usage
4348

44-
Create a new file `keys.development.json` in the root of your React Native app and add keys in `secure` object for `cpp+Encryption` and add keys in public for public usage this:
49+
Create a new file `keys.development.json` in the root of your React Native app and add Envs in `secure` object for `undecryptable` envs variables and add Envs in public for public usage this:
4550

4651
```
4752
{
@@ -351,6 +356,10 @@ This package full alternative of [react-native-config](https://github.com/luggit
351356
352357
The above-mentioned packages do not provide any **security** for **environment variables** as well as these packages are not as fast as the **react-native-keys** package because it does not use JSI (JavaScript Interface).
353358
359+
## Consider supporting with a ⭐️ [star on GitHub](https://github.com/numandev1/react-native-keys/stargazers)
360+
361+
If you are using the library in one of your projects, consider supporting it with a star. It takes a lot of time and effort to keep this maintained and address issues and bugs. Thank you.
362+
354363
## Meta
355364
356365
Created by [Numan.dev](https://numan.dev/).

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
"react-native-config",
4949
"dotenv",
5050
"config-var",
51-
"12factor"
51+
"12factor",
52+
"undecryptable"
5253
],
5354
"repository": "https://github.com/numandev1/react-native-keys",
5455
"author": "numandev1 <muhammadnuman70@gmail.com> (https://github.com/numandev1)",

0 commit comments

Comments
 (0)