Skip to content

Conversation

@Fector101
Copy link
Owner

@Fector101 Fector101 commented Jan 11, 2026

Vibrate feature

Tested on Android 15

  • Using Phone's default vibrate pattern, Android 15 ignored long patterns and only vibrated when phone was on silent
  • conflicting channel names got the same vibrate state even with different ids
  • They always vibrate when phone set to silent. IMPORTANCE_LOW didn't vibrate but didn't show heads-up
Notification.createChannel(
        id='vibes',
        name="Vibes",
        vibrate=True
    )

n=Notification(title='vibrate',channel_id='vibes')
# for less than android 8
n.setVibrate() # for default pattern
n.setVibrate(pattern=[0, 300, 100, 300])
n.send()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants