1.react-native-freelifemakers-ui NPM Module Install
npm install react-native-freelifemakers-ui
2.PeerModule install
1)React-Native Expo
✔️This is a module that must be installed to use FlmBottomSheet.
✔️To use this module, you must install the following two modules: react-native-freelifemakers-ui ✔️ React Native Expo requires [email protected] to be installed. ✔️ Expo Project is most compatible with version 3.17.4, and the FlmBanner may not work when installing a higher version.
npm install react-native-gesture-handler
npm install [email protected]
👉🏻 babel.config.js
✔️If this file does not exist, create it yourself.
✔️Just create it in the same location as the package.json file in your project folder.
✔️Apply the following settings for the reanimated module below:
// babel.config.js
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
'react-native-reanimated/plugin', //react-native-reanimated module setting
],
};
};
2)React-Native CLI
✔️To use this module, you must install the following two modules: react-native-freelifemakers-ui
✔️On Android, the react-native-reanimated module may not work reliably.
✔️It works fine on iOS.
✔️For React Native CLI, you can install the latest version of react-native-reanimated.
✔️I have currently installed version 3.18.0 and tested it and it works well.