-
Notifications
You must be signed in to change notification settings - Fork 12
Description
When i install "react-native-custom-switch" on my android device showing error like this,
2 | import { View, StyleSheet, Text, TouchableWithoutFeedback, Animated, LayoutAnimation, Platform, UIManager } from 'react-native';
3 |
4 | import hexToRgb from './hexToRgb';
| ^
6 | if (Platform.OS === 'android') {
7 | if (UIManager.setLayoutAnimationEnabledExperimental) {
at ModuleResolver.resolveDependency (/home/nachu/Desktop/todo_app/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:137:15)
at DependencyGraph.resolveDependency (/home/nachu/Desktop/todo_app/node_modules/metro/src/node-haste/DependencyGraph.js:260:43)
and i rebuilded my app and cleared cache with npm start --reset-cache command, still showing this error
package-version = "^1.0.7"
