react-native-in-app-message
react-native-in-app-message copied to clipboard
Warning: Require cycle
I'm getting the following warning:
Require cycle: node_modules/react-native-in-app-message/index.js -> node_modules/react-native-in-app-message/src/Noification/index.js -> node_modules/react-native-in-app-message/src/Noification/Notification.android.js -> node_modules/react-native-in-app-message/src/Noification/NotificationBase.js -> node_modules/react-native-in-app-message/index.js Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
Can be fixed by changing in NotificationBase.js:
import { TapticFeedback } from '../../index';
into
import { TapticFeedback } from '../RNInAppMessage';
I also receive this warning. You can correct it? A possible solution has been written to you above. Thank!
I'm having the same warning here.