react-native-in-app-message icon indicating copy to clipboard operation
react-native-in-app-message copied to clipboard

Warning: Require cycle

Open Monkeystation opened this issue 4 years ago • 3 comments

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.

Monkeystation avatar Jul 07 '20 01:07 Monkeystation

Can be fixed by changing in NotificationBase.js: import { TapticFeedback } from '../../index'; into import { TapticFeedback } from '../RNInAppMessage';

Monkeystation avatar Jul 07 '20 02:07 Monkeystation

I also receive this warning. You can correct it? A possible solution has been written to you above. Thank!

spolesciuc avatar Aug 06 '20 06:08 spolesciuc

I'm having the same warning here.

thgcst avatar Sep 28 '20 20:09 thgcst