Here is how it works:
Embedding Xebo.ai Mobile SDK – react native version
Prerequisites
Make sure to have the react native development environment on the system.
Requirements are :-
Requirement
Minimum
React Native
0.71.0+
React
18.2.0+
Node.js
18.0.0+
iOS
13.0+
Android
API 24 (Android 7.0)+
3.React Native package url : -
https://www.npmjs.com/package/react-native-my-survey-sdk4.Package install command is:-
npm install react-native-my-survey-sdk
# iOS only
cd ios && pod install && cd ..5. Peer Dependencies
Install any of these that are not already in your project:
npm install \
@react-native-async-storage/async-storage \
@react-native-community/netinfo \
react-native-modal \
react-native-reanimatedPackage | Purpose |
|---|---|
| Offline response queue |
| Network detection for auto-sync |
| Survey bottom-sheet |
| Animations |
Reanimated requires a Babel plugin. Add to
babel.config.js:module.exports = { plugins: ['react-native-reanimated/plugin'] };