This repository has been archived by the owner on Apr 15, 2023. It is now read-only.
Version 1.0.5
Add QuickActions.isSupported
function to determine if a device supports 3D Touch.
QuickActions.isSupported(function(error, supported) {
if (!supported) {
console.log('Device does not support 3d touch or 3d touch is disabled.');
}
});
Big thanks to @superandrew213 for the PR!