{"id":32300351,"url":"https://github.com/lambiengcode/flutter-ios-communication-notifications-plugin","last_synced_at":"2026-02-22T18:03:05.790Z","repository":{"id":65916538,"uuid":"598410089","full_name":"lambiengcode/flutter-ios-communication-notifications-plugin","owner":"lambiengcode","description":"Flutter plugin for displaying iOS communication notifications. Easily integrate notifications into your Flutter app. Compatible with iOS 15 and above.","archived":false,"fork":false,"pushed_at":"2023-10-01T07:19:14.000Z","size":2498,"stargazers_count":10,"open_issues_count":3,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-06T14:22:51.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/ios_communication_notification","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/lambiengcode.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":"2023-02-07T03:30:14.000Z","updated_at":"2025-09-26T08:38:20.000Z","dependencies_parsed_at":"2023-06-28T15:01:14.591Z","dependency_job_id":null,"html_url":"https://github.com/lambiengcode/flutter-ios-communication-notifications-plugin","commit_stats":null,"previous_names":["lambiengcode/ios_communication_notification"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/lambiengcode/flutter-ios-communication-notifications-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambiengcode%2Fflutter-ios-communication-notifications-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambiengcode%2Fflutter-ios-communication-notifications-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambiengcode%2Fflutter-ios-communication-notifications-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambiengcode%2Fflutter-ios-communication-notifications-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambiengcode","download_url":"https://codeload.github.com/lambiengcode/flutter-ios-communication-notifications-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambiengcode%2Fflutter-ios-communication-notifications-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29721056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-10-23T05:16:23.045Z","updated_at":"2026-02-22T18:03:05.767Z","avatar_url":"https://github.com/lambiengcode.png","language":"Dart","readme":"## iOS Communication Notifications\n\n- Ref: [Apple Docs](https://developer.apple.com/documentation/usernotifications/implementing_communication_notifications)\n\n\n## Screenshots:\n\n\u003cp\u003e\n\u003cimg src=\"https://github.com/lambiengcode/ios_communication_notification/raw/main/screenshots/IMG_0768.png?raw=true\" width=\"200px\" /\u003e\n\u003cimg src=\"https://github.com/lambiengcode/ios_communication_notification/raw/main/screenshots/IMG_0769.jpg?raw=true\" width=\"200px\" /\u003e\n\u003c/p\n\n## Features\n\n* support show communication notifications on ios 15 or above\n* support callback onclick notification\n\n## Configuration\n\n- Install package\n\n```terminal\nflutter pub add ios_communication_notification\n```\n\n```terminal\nflutter clean \u0026\u0026 flutter pub get\n```\n\u003cbr/\u003e\n\n- Config XCode\n\n\u003e Capabilities\n1. Open your Project in XCode.\n2. Click on `Runner`, then Target `Runner`\n3. Click on Signing \u0026 Capabilities\n4. Add Capability\n5. Add Communication Notifications\n\n\u003e Info.plist\n1. Open `Info.plist`\n2. Add `NSUserActivityTypes` as type array\n3. Add `INSendMessageIntent` as the element of the newly created array\n\n\u003cbr/\u003e\n\n- Config AppDelegate Extension\n\n1. Open `AppDelegate.swift`\n2. Copy the below piece of code and add it at the end of the file\n\n```swift\nimport UIKit\nimport ios_communication_notification\n\nextension AppDelegate {\n    override func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -\u003e Void) {\n        if #available(iOS 15.0, *) {\n            if (notification.request.identifier.starts(with: IosCommunicationConstant.prefixIdentifier)) {\n                completionHandler([.banner, .badge, .sound, .list])\n            }\n        }\n        \n        return super.userNotificationCenter(center, willPresent: notification, withCompletionHandler: completionHandler)\n    }\n    \n    override func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -\u003e Void) {\n        \n        if #available(iOS 15.0, *) {\n            if (response.notification.request.identifier.starts(with: IosCommunicationConstant.prefixIdentifier)) {\n                let userInfo = response.notification.request.content.userInfo\n                \n                IosCommunicationNotificationPlugin.shared.onClickNotification(userInfo)\n                \n                completionHandler()\n            }\n        }\n        \n        return super.userNotificationCenter(center, didReceive: response, withCompletionHandler: completionHandler)\n    }\n}\n```\n\n## Usage\n\n- Check available for show communication notifications\n\n```dart\n// if iOS 15 or above\nfinal bool isAvailableForCommunication = await IosCommunicationNotification().isAvailable();\n```\n\n- Show notification\n\n```dart\nIosCommunicationNotification().showNotification(\n  NotificationInfo(\n    senderName: \"lambiengcode\",\n    imageBytes: imageBuffer,\n    value: \"This is payload, will receive when click this notification\",\n    content: \"Hello Flutter\"\n  ),\n);\n```\n\n- Get initial payload - useful for check and get payload if app start from click communication notification\n\n```dart\nIosCommunicationNotification().getInitialPayload().then((payload) {\n    // TODO: do somethings\n});\n```\n\n- Set onClick callback function\n  \n```dart\nIosCommunicationNotification().setOnClickNotification((payload) {\n    // TODO: do somethings\n});\n```\n\n### ReactionBoxParamenters\n| parameter                  | description                                                                           | default                                                                                                                                                                               |\n| -------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| senderName          | Title of notification - sender message notification                                           |required|\n| imageBytes                  | Avatar of sender |required|\n| content            | Message content                                                        | required |\n| value               | Payload notification                            | required |      \n\n## Download Askany\n\n\u003cp\u003e\n\u003ca href=\"https://apps.apple.com/vn/app/askany/id1589217505\"\u003e\u003cimg src=\"https://askany.com/images/app-store.png\" height=\"60px\" width=\"180px\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.askany\"\u003e\u003cimg src=\"https://askany.com/images/ch-play.png\" height=\"60px\" width=\"180px\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## License - lambiengcode\n\n```terminal\nMIT License\n\nCopyright (c) 2022 Askany\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambiengcode%2Fflutter-ios-communication-notifications-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambiengcode%2Fflutter-ios-communication-notifications-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambiengcode%2Fflutter-ios-communication-notifications-plugin/lists"}