Open rzoro opened 1 year ago
jest.config.js
setupFiles: [
mockReactNativeShake.js
}
mockReactNativeShake.js
jest.mock('react-native-shake', () => ({
addListener: jest.fn(),
removeAllListeners: jest.fn(),
}));
I'm encountering the same issue as @rzoro reported with RN version 0.72.1.
In addition, I tried to create a new/fresh project with the latest RN version 0.73.4, iOS version 17.3. Just to validate if my current app RN version is just the one having an issue.
Created an adhoc version of it for release mode and install in actual device. Result: The listener is not triggered at all.
I wonder if anyone got the same issue.
Published a new version (6.0.0-beta.2). Can you try?
Getting this error after upgrading to 5.5.0.