We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I build app in Xcode I got a error like bellow.
Undefined symbol: _AudioServicesPlaySystemSound
I'm using "react-native": "0.75.4", "react-native-haptic-feedback": "^2.3.3".
I installed as follow description.
yarn add react-native-haptic-feedback
cd ios && pod install
Can I get any help?
The text was updated successfully, but these errors were encountered:
I removed bellow code at RNHapticFeedback.m
else if ([self supportsHapticFor6SAnd6SPlus]) { // generates alternative haptic feedback if ([type isEqual: @"impactMedium"]) { AudioServicesPlaySystemSound((SystemSoundID) 1520); } else if ([type isEqual:@"notificationWarning"]) { AudioServicesPlaySystemSound((SystemSoundID) 1521); } else { // Default selection haptic feedback AudioServicesPlaySystemSound((SystemSoundID) 1519); } } else if (enableVibrateFallback) { AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); }
And then build is successful. (I don't support iPhone 6 or 6s)
Sorry, something went wrong.
No branches or pull requests
When I build app in Xcode I got a error like bellow.
Undefined symbol: _AudioServicesPlaySystemSound
I'm using "react-native": "0.75.4", "react-native-haptic-feedback": "^2.3.3".
I installed as follow description.
yarn add react-native-haptic-feedback
cd ios && pod install
Can I get any help?
The text was updated successfully, but these errors were encountered: