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

'impactLight' no effect on iPhones 6S #47

Closed
wmonecke opened this issue Mar 2, 2020 · 5 comments
Closed

'impactLight' no effect on iPhones 6S #47

wmonecke opened this issue Mar 2, 2020 · 5 comments
Labels
enhancement New feature or request next Will be included in next version
Milestone

Comments

@wmonecke
Copy link

wmonecke commented Mar 2, 2020

Hi!

I tested the package and only 'selection' and 'impactMedium' have any effect whatsoever.
Is this because the phone does not support lighter vibrations?

Thank you very much in advance!

@plaa
Copy link
Contributor

plaa commented Jun 22, 2020

The code has condition that on iPhone 6 & 6S it uses AudioServicesPlaySystemSound and handles only the values selection, impactMedium and notificationWarning.

The code should be changed to perform a best-guess mapping from the other constants to the three vibration types allowed on those devices.

@mkuczera mkuczera added this to the 1.12.0 milestone Oct 13, 2020
@mkuczera mkuczera added the enhancement New feature or request label Oct 13, 2020
@mkuczera
Copy link
Owner

Thanks. I will implement the mapping with the next version and document the corresponding fallbacks

@WesleyAC
Copy link

It looks like the default fallback for unsupported types on more recent iPhone versions is selection, is the plan for the 6s / 6s Plus to also fall back to selection as well? That would be quite nice :)

@haleyngonadi
Copy link

Just confirming this issue on my end as well. Any updates? :)

@mkuczera mkuczera added the next Will be included in next version label Nov 24, 2021
@Romick2005
Copy link
Contributor

I guess we need to have some default feedback for iPhone 6s and iPhone 6s Plus
image

Romick2005 added a commit to Romick2005/react-native-haptic-feedback that referenced this issue Jun 21, 2022
j-piasecki pushed a commit to j-piasecki/react-native-haptic-feedback that referenced this issue Feb 27, 2023
@mkuczera mkuczera closed this as completed Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next Will be included in next version
Projects
None yet
Development

No branches or pull requests

6 participants