{"id":17168327,"url":"https://github.com/istornz/flutter_gaimon","last_synced_at":"2026-01-11T04:52:41.013Z","repository":{"id":61973534,"uuid":"453116291","full_name":"istornz/flutter_gaimon","owner":"istornz","description":"A Flutter plugin to fully support Haptic feedback with custom pattern 📳","archived":false,"fork":false,"pushed_at":"2025-04-27T12:16:06.000Z","size":650,"stargazers_count":33,"open_issues_count":3,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T13:24:22.229Z","etag":null,"topics":["android","dart","flutter","flutter-plugin","haptic-feedback","ios"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/istornz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-01-28T15:22:08.000Z","updated_at":"2025-04-27T12:16:09.000Z","dependencies_parsed_at":"2023-02-08T18:02:19.454Z","dependency_job_id":"948c02ed-baa0-470a-8b74-175a9a8eec3b","html_url":"https://github.com/istornz/flutter_gaimon","commit_stats":null,"previous_names":["istornz/gaimon"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/istornz/flutter_gaimon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/istornz%2Fflutter_gaimon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/istornz%2Fflutter_gaimon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/istornz%2Fflutter_gaimon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/istornz%2Fflutter_gaimon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/istornz","download_url":"https://codeload.github.com/istornz/flutter_gaimon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/istornz%2Fflutter_gaimon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278397913,"owners_count":25980082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","dart","flutter","flutter-plugin","haptic-feedback","ios"],"created_at":"2024-10-14T23:11:40.815Z","updated_at":"2025-10-05T01:15:37.958Z","avatar_url":"https://github.com/istornz.png","language":"Dart","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/istornz/gaimon/main/images/gaimon.webp?raw=true\" /\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\" style=\"display: flex;align-items: center;justify-content: center;\"\u003e\n  \u003ca href=\"https://pub.dev/packages/gaimon\"\u003e\u003cimg src=\"https://img.shields.io/pub/points/gaimon?style=for-the-badge\" style=\"margin-right: 10px\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/gaimon\"\u003e\u003cimg src=\"https://img.shields.io/pub/likes/gaimon?style=for-the-badge\" style=\"margin-right: 10px\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/gaimon\"\u003e\u003cimg src=\"https://img.shields.io/pub/popularity/gaimon?style=for-the-badge\" style=\"margin-right: 10px\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/gaimon\"\u003e\u003cimg src=\"https://img.shields.io/pub/v/gaimon?style=for-the-badge\" style=\"margin-right: 10px\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/istornz/gaimon\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/istornz/gaimon?style=for-the-badge\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://radion-app.com\" target=\"_blank\" alt=\"Radion - Ultimate gaming app\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/istornz/gaimon/main/images/radion.webp\" width=\"600px\" alt=\"Radion banner - Ultimate gaming app\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## 🧐 What is it ?\n\nGaimon is a **very simple** \u0026 **easy to use** plugin to include **Haptic feedback** in your app. It support custom pattern with `.ahap` file support.\n\u003cbr /\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg style=\"height: 500px; max-height: 500px\" src=\"https://raw.githubusercontent.com/istornz/gaimon/main/images/preview.webp\" /\u003e\n\u003c/p\u003e\n\n## 👻 Getting started\n\n- Import the plugin.\n\n```dart\nimport 'package:gaimon/gaimon.dart';\n```\n\n- Trigger haptic 📳.\n\n```dart\nGaimon.selection();\nGaimon.success();\nGaimon.error();\n// [...]\n```\n\nQuite simple right ? 😎\n\n## 📘 Documentation\n\n| Name                    | Description                                                                                           | Android | iOS |\n| ----------------------- | ----------------------------------------------------------------------------------------------------- | ------- | --- |\n| `.canSupportsHaptic()`  | Check if haptic are supported or not                                                                  | ✅      | ✅  |\n| `.selection()`          | Use it on a tap event                                                                                 | ✅      | ✅  |\n| `.error()`              | Use it when an error occur                                                                            | ✅      | ✅  |\n| `.success()`            | Use it when a successful event occur                                                                  | ✅      | ✅  |\n| `.warning()`            | Use it when a warning event occur                                                                     | ✅      | ✅  |\n| `.heavy()`              | Huge feedback                                                                                         | ✅      | ✅  |\n| `.medium()`             | Medium feedback                                                                                       | ✅      | ✅  |\n| `.light()`              | Light feedback                                                                                        | ✅      | ✅  |\n| `.rigid()`              | A huge but speed feedback                                                                             | ✅      | ✅  |\n| `.soft()`               | A medium but speed feedback                                                                           | ✅      | ✅  |\n| `.pattern(String data)` | Read a custom `.ahap` file (you can use [Captain AHAP](https://ahap.fancypixel.it/) to generate file) | ✅      | ✅  |\n\n## ❓ FAQ\n\n- Why custom pattern is not working on my iPhone?\n\n  \u003e Custom vibration patterns is only supported on **iPhone 8 and newer devices**.\n\n## 🎯 Roadmap\n\n- [x] Support pattern for Android (send `.ahap` file \u0026 convert it to waveform).\n  - [x] Parse .ahab json contents\n  - [x] Convert events in pattern to waveform\n  - [x] Send waveform to android native plugin to simulate waveform\n  - [x] Add support for parameters (https://developer.apple.com/documentation/corehaptics/representing-haptic-patterns-in-ahap-files)\n  - [x] Add support for Parameter curves\n  - [ ] Add support for AttackTime\n  - [ ] Add support for DecayTime\n  - [ ] Add support for Sustained Events\n- [ ] Support audio file to haptic feedback (generate correct feedback for audio file).\n\n## 👥 Contributions\n\nContributions are welcome. Contribute by creating a PR or create an issue 🎉.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fistornz%2Fflutter_gaimon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fistornz%2Fflutter_gaimon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fistornz%2Fflutter_gaimon/lists"}