Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working at all #64

Open
MOONGU-wkyoon opened this issue Apr 17, 2024 · 3 comments
Open

Not working at all #64

MOONGU-wkyoon opened this issue Apr 17, 2024 · 3 comments

Comments

@MOONGU-wkyoon
Copy link

MOONGU-wkyoon commented Apr 17, 2024

I tested my physical phone and I'm sure 'release' version.

"react": "18.2.0",
"react-native": "^0.72.5",
"react-native-shake": "^5.6.2"

useEffect(() => { Alert.alert('shake!'); RNShake.addListener(() => Alert.alert('done!')); return () => { RNShake.removeAllListeners(); }; }, []);

it only works 'Alert.alert('shake!')'

@iTonyYo
Copy link

iTonyYo commented Apr 24, 2024

I tested my physical phone and I'm sure 'release' version.

"react": "18.2.0", "react-native": "^0.72.5", "react-native-shake": "^5.6.2"

useEffect(() => { Alert.alert('shake!'); RNShake.addListener(() => Alert.alert('done!')); return () => { RNShake.removeAllListeners(); }; }, []);

it only works 'Alert.alert('shake!')'

try react-native v0.72.3

@techgerm
Copy link

It's not working for us either after updating to the latest version of react-native-shake:

  • "react": "18.2.0"
  • "react-native": "0.73.7"
  • "react-native-shake": "5.6.2"

We had to downgrade react-native-shake back to 5.5.2 for it to work.

@chase-si
Copy link

It's not working for us either after updating to the latest version of react-native-shake:

  • "react": "18.2.0"
  • "react-native": "0.73.7"
  • "react-native-shake": "5.6.2"

We had to downgrade react-native-shake back to 5.5.2 for it to work.

react-native-shake@5.6.2 not work at react-native@0.74.0
try install react-native-shake@5.5.2, works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants