From 5ef07cf04d7ecfe58c7bbeab44c10c012151b0d0 Mon Sep 17 00:00:00 2001 From: WindBlade Date: Thu, 27 Nov 2025 18:43:22 +0700 Subject: [PATCH] Update guild for use the demo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Link demo tôi tạo trên expo vài năm trước đã lỗi thời và không sử dụng được! Vì vậy, tôi đã tạo một kho lưu trữ mới hỗ trợ Expo Go và tương thích với phiên bản Expo GO gần nhất (lưu ý một số Component như Line Gradient sẽ không hoạt động). --- README.md | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 11860dfcd1..4bf7dfbfb7 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,6 @@ While we don’t have a timeline yet, this is part of our roadmap. - [Discord Channel](https://discord.gg/2eW4g6Z) -Download our Expo demo app
-
-(You will need the Expo App) -or open link in your devices -[expo ] [exp://exp.host/@vn.chemgio/rnuilib?release-channel=default](exp://exp.host/@vn.chemgio/rnuilib?release-channel=default) - ## Installing See setup instructions [here](https://wix.github.io/react-native-ui-lib/docs/getting-started/setup). @@ -138,6 +132,28 @@ class MyScreen extends Component { } } ``` +## Demo with Expo +Step 1: Clone this repository +``` +https://github.com/Vn-ChemGio/react-native-ui-lib +``` + +and install required package in package.json and install expo-cli +``` + npm install eas-cli@latest + npm install +``` +Step 2: Run cli to prebuild and link the module with expo +``` + npx expo prebuild + cd ios && pod install +``` +Step 3: Run the project +``` + npm start +-> then press i to run with sumulator in Xcode or scan QR Code to run with Expo Go in real devices +``` +Note: I've only tested in iOs with Expo Go, but you can try with Android devices ## Contributing See [Contribution Guide](https://github.com/wix/react-native-ui-lib/blob/master/CONTRIBUTING.md)