Links
🥑

Haptic Feedback [iOS]

🧋 Bubble.io Plugin

[Action] Natively - Haptic Impact [iOS]

  • Type - LIGHT,MEDIUM,HEAVY,RIGID or SOFT

[Action] Natively - Haptic Notification [iOS]

  • Type - SUCCESS, ERROR, or WARNING

[Action] Natively - Haptic Pattern [iOS]

  • Pattern - as a text (example: ..oO-Oo..) Use pattern symbols to represent custom vibrations.
    • O - heavy impact
    • o - medium impact
    • . - light impact
    • X - rigid impact
    • x - soft impact
    • - - wait 0.1 second
  • Delay - number (example: 0.1)
​

🛠 JavaScript SDK

Haptic Impact [only iOS]

1
const type = "LIGHT"; // LIGHT,MEDIUM,HEAVY,RIGID or SOFT
2
window.natively.hapticImpactIOS(type);

Haptic Notification [only iOS]

1
const type = "SUCCESS"; // SUCCESS, ERROR, or WARNING
2
window.natively.hapticNotificationIOS(type);

Haptic Pattern [only iOS]

// 'O' heavy impact
// 'o' medium impact
// '.' light impact
// 'X' rigid impact
// 'x' soft impact
// '-' wait 0.1 second
const pattern = "..oO-Oo..";
const delay = 0.1; //
const description = "Test Description";
window.natively.hapticPatternIOS(pattern, delay);