Skip to content

Commit 32d9ea9

Browse files
author
pioner921227
committed
refactor: upadted README
1 parent 2d31e03 commit 32d9ea9

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,25 @@ APP_NAME=MyAwesomeApp
3131

3232
---
3333

34-
# iOS
35-
```bash
34+
## 🍏 iOS
35+
3636
### 1. Install CocoaPods dependencies:
37-
cd ./ios
37+
```bash
38+
cd ./ios
3839
pod install
40+
```
3941

4042
### 2. Add the custom script to Xcode Build Phases:
41-
Open Xcode → select your Target → go to Build Phases → click + New Run Script Phase
43+
Open Xcode → select your Target → go to **Build Phases** → click **+ New Run Script Phase**
4244
and paste the following command:
43-
45+
```bash
4446
bash "${SRCROOT}/../node_modules/react-native-config-jsi/src/scripts/generate-xcconfig.sh"
45-
46-
4747
```
4848

4949
---
5050

51-
# Android
51+
## 🤖 Android
52+
5253
At the **bottom** of `android/app/build.gradle`, add the following line:
5354

5455
```gradle
@@ -69,9 +70,11 @@ import { RNConfig } from "react-native-config-jsi";
6970
const apiKey = RNConfig.get("API_KEY");
7071
console.log("API_KEY:", apiKey);
7172
```
73+
7274
---
7375

7476
## ⚡ Features
77+
7578
-**Blazing fast** thanks to JSI (JavaScript Interface)
7679
-**Written in C++** for performance optimization
7780
-**No async calls** – variables are accessed synchronously
@@ -80,8 +83,9 @@ console.log("API_KEY:", apiKey);
8083
---
8184

8285
## 📜 License
86+
8387
MIT
8488

8589
---
8690

87-
Now you're all set! 🎉 Happy coding with **react-native-config-jsi**! 🚀
91+
Now you're all set! 🎉 Happy coding with **react-native-config-jsi**! 🚀

0 commit comments

Comments
 (0)