Hello,
If anyone is interested in adding some Taptic Feedback to your apps here is an implementation I made using Swift.
For now it just has UIImpactFeedbackGenerator but more are coming soon.
var Taptic = require("TapticModule");
function light()
Taptic.Light();
}
function medium(){
Taptic.Medium();
}
function heavy(){
Taptic.Heavy();
}
Please note only the iPhone 7 / 7 plus has Taptic Engine and iOS 10 is necessary.
[Fuse TapticFeedback] (https://github.com/LuisRodriguezLD/Fuse-TapticFeedback)