TelegramMessenger / TelegramMessenger/Telegram-iOS

[Feature Request] Custom Vibration for Notifications

Open
#276 0 comments 26 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Problem
iOS has the feature of creating custom vibration patterns that can be assigned to notifications.
In iOS 13 it is possible to create them in Settings -> Sounds: Sounds and Vibration Patterns -> Text Tone (any would work) -> Vibration: Custom -> Create New Vibration.
They can then be assigned to built-in apps via Settings -> Sounds.

However it looks like setting custom vibration patterns to third-party app notifications is only possible via the in-app settings. Currently Telegram does not have the option to set a vibration pattern for notifications, but just a sound.

Scenario
My personal use case scenario is actually pretty simple: the default vibration pattern for notification is way too long and annoying when receiving many notifications in a short amount of time and I would like to change it with a much shorter vibration (indeed now I am forced to disable sounds, while a much shorter one would be ok - I tested it on Messages app).

Generally speaking I think it could be useful to distinguish a notification when the phone in silent mode without looking.

New Feature Request
Add an option in Telegram settings to set a vibration pattern for notifications (among the default ones and the ones created via the iOS functionality).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating Telegram’s iOS notification settings and notification delivery implementation, then verify which vibration patterns iOS exposes; done means users can select a custom notification vibration, including patterns created in iOS Settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.