We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34dd280 commit 471ed0cCopy full SHA for 471ed0c
ios/Capacitor/Capacitor/Plugins/Haptics.swift
@@ -58,7 +58,9 @@ public class CAPHapticsPlugin: CAPPlugin {
58
}
59
60
@objc public func selectionEnd(_ call: CAPPluginCall) {
61
- selectionFeedbackGenerator = nil
+ DispatchQueue.main.async {
62
+ self.selectionFeedbackGenerator = nil
63
+ }
64
65
66
@objc public func vibrate(_ call: CAPPluginCall) {
0 commit comments