Installation
sh
npm install react-native-zalo-kitsh
yarn add react-native-zalo-kitsh
npx expo install react-native-zalo-kitReact Native CLI projects then install the iOS pod:
sh
cd ios && pod installExpo projects add the config plugin and build with npx expo prebuild or EAS. Expo Go is not supported because the Zalo SDK is native code; use a development build.
Compatibility
| Version | |
|---|---|
| React Native | New Architecture (tested with 0.79) |
| Expo | SDK 52+ with a development build |
| Zalo Android SDK | me.zalo:sdk-* 4.24.1101 (override) |
| Zalo iOS SDK | ZaloSDK ~> 4.1 |
Next steps
- Create a Zalo app to get your Zalo App ID.
- Configure the native projects: Expo, or iOS and Android for React Native CLI.
- Sign the user in.