You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-12Lines changed: 21 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,29 @@
1
1
<divalign="center">
2
-
<imgsrc="./media/key.png"height="100" />
2
+
<h1align="center">🔐 Make undecryptable .ENVs variables</h1>
3
3
</div>
4
4
5
-
<br />
6
-
<br />
5
+
### Why should we use react-native-keys over react-native-config?
7
6
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
Making undecryptable **Envs** library for React Native.
14
+
15
+
- 🔐 Made for **undecryptable** ENVs on react native apps
16
+
- 🗄️ Manage different enviroments (**dev**, **staging**, **production**)
10
17
- 🏎️ 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
12
19
- 🧪 Well tested in JS and C++
13
-
- 🔐 Made for securing keys on react native apps
14
-
- 🗄️ Manage different enviroments (**dev**, **staging**, **production**)
15
20
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**
17
22
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
19
24
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
22
27
23
28
### Would you like to support me?
24
29
@@ -41,7 +46,7 @@ yarn add react-native-keys
41
46
42
47
## Basic Usage
43
48
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:
45
50
46
51
```
47
52
{
@@ -351,6 +356,10 @@ This package full alternative of [react-native-config](https://github.com/luggit
351
356
352
357
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).
353
358
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.
0 commit comments