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

On ios play default vibration when failed to play pattern #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Filiponesco
Copy link
Contributor

Play the default vibration when unable to play a custom pattern.

For example if the core haptic engine is stopped because the app is in the background.

In my opinion, it's a good practice to trigger the default vibration when you can't use a specific pattern.

PS.
Playing vibrations using the core haptic engine is not possible when the app is in the background. You can refer to this forum discussion and the Apple documentation for more information.

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

Successfully merging this pull request may close these issues.

1 participant