cordova-plugin-3dtouch
cordova-plugin-3dtouch copied to clipboard
isAvailable always return false (new iphones)
On new iphones (like iphone XR, Iphone 11 or Iphone 11 PRO) the plugin return false
ThreeDeeTouch.isAvailable(function (avail) { // always false });
But... is I just call the configureQuickActions works fine, Apple Just remove 3dTouch and replace for Haptic touch // Works Fine --> ThreeDeeTouch.configureQuickActions(MYBUTTONSCONFIG);
So i think that isAvailable method should check if have also haptic response. https://developer.apple.com/documentation/uikit/uiimpactfeedbackgenerator
Looks like this issue is resolved in iOS 14 and not in iOS 13.x.x.
Haven't test in ios14, @videmort can you confirm?
I have the same Issue with an iPhone 11 with iOS 14.4.
I have the same issue with iPhone 12 Pro Max on iOS 14.2.2
我也遇到了同样的问题