{"id":29040687,"url":"https://github.com/pushchain/push-socket-client-dart","last_synced_at":"2026-01-11T13:37:05.846Z","repository":{"id":180776746,"uuid":"664973517","full_name":"pushchain/push-socket-client-dart","owner":"pushchain","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-02T18:29:50.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-23T13:54:06.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pushchain.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}},"created_at":"2023-07-11T06:55:40.000Z","updated_at":"2024-10-25T02:21:29.000Z","dependencies_parsed_at":"2024-03-27T05:26:53.483Z","dependency_job_id":"36879984-598f-470b-aaab-f73d17295ed1","html_url":"https://github.com/pushchain/push-socket-client-dart","commit_stats":null,"previous_names":["ethereum-push-notification-service/push-socket-client-dart","push-protocol/push-socket-client-dart","pushchain/push-socket-client-dart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pushchain/push-socket-client-dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushchain%2Fpush-socket-client-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushchain%2Fpush-socket-client-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushchain%2Fpush-socket-client-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushchain%2Fpush-socket-client-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pushchain","download_url":"https://codeload.github.com/pushchain/push-socket-client-dart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushchain%2Fpush-socket-client-dart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262085900,"owners_count":23256540,"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","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-06-26T14:36:35.796Z","updated_at":"2026-01-11T13:37:05.839Z","avatar_url":"https://github.com/pushchain.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003e\n    \u003ca href=\"https://push.org/#gh-light-mode-only\"\u003e\n    \u003cimg width='20%' height='10%' \nsrc=\"https://res.cloudinary.com/drdjegqln/image/upload/v1686227557/Push-Logo-Standard-Dark_xap7z5.png\"\u003e\n    \u003c/a\u003e\n\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ci align=\"center\"\u003ePush Protocol is a web3 communication network, enabling cross-chain notifications, messaging, video, and NFT chat for dapps, wallets, and services.🚀\u003c/i\u003e\n\u003c/p\u003e\n\n\u003ch4 align=\"center\"\u003e\n\n  \u003ca href=\"https://discord.com/invite/pushprotocol\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/discord-7289da.svg?style=flat-square\" alt=\"discord\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/pushprotocol\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/twitter-18a1d6.svg?style=flat-square\" alt=\"twitter\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.youtube.com/@pushprotocol\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/youtube-d95652.svg?style=flat-square\u0026\" alt=\"youtube\"\u003e\n  \u003c/a\u003e\n\u003c/h4\u003e\n\u003c/h1\u003e\n\u003ch2\u003ePush Dart Socket Client \u003c/h2\u003e \n\u003cp\u003e\nThis package helps to connect to Push backend using websockets built on top of Socket.IO\n\n\u003c/p\u003e\n\u003c/div\u003e\n\n\n## 📚 Table of Contents\n- [Documentation](#documentation)\n- [Getting Started](#-getting-started)\n- [Resources](#resources)\n- [Contributing](#contributing)\n\n---\n\n\n## Documentation\n Visit [Developer Docs](https://docs.push.org/developers/developer-tooling/push-sdk/sdk-packages-details/pushprotocol-socket) or [Push.org](https://push.org) to learn more.\n\n\n## 🚀 Getting Started\n\n### 🖥 Installation\n Add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):\n```yaml\ndependencies:\n  push_socket_client_dart: ^0.0.1-alpha\n```\nAlternatively, your editor might support ```dart pub get``` or ```flutter pub get```. Check the docs for your editor to learn more.\n\nTry it:\n```dart\nimport 'package:push_socket_client_dart/push_socket_client_dart.dart';\n\nvoid main() {\n  final options = SocketInputOptions(\n    user: '0x08f890A796E757714c3472032383634565aF6044',\n    env: ENV.DEV,\n    socketType: SOCKETTYPES.NOTIFICATION,\n    socketOptions: SocketOptions(\n      autoConnect: true,\n      reconnectionAttempts: 5,\n    ),\n  );\n  final pushSocket = createSocketConnection(options);\n  print('Result: $pushSocket');\n\n  if (pushSocket != null) {\n    pushSocket.connect();\n\n    pushSocket.on(\n      EVENTS.CONNECT,\n      (data) {\n        print(' EVENTS.CONNECT: $data');\n      },\n    );\n    pushSocket.on(\n      EVENTS.CHAT_RECEIVED_MESSAGE,\n      (data) {\n        print(' EVENTS.CHAT_RECEIVED_MESSAGE: $data');\n      },\n    );\n    pushSocket.on(\n      EVENTS.CHAT_GROUPS,\n      (data) {\n        print(' EVENTS.CHAT_GROUPS: $data');\n      },\n    );\n    pushSocket.on(\n      EVENTS.USER_FEEDS,\n      (data) {\n        print(' EVENTS.USER_FEEDS: $data');\n      },\n    );\n    pushSocket.on(\n      EVENTS.USER_SPAM_FEEDS,\n      (data) {\n        print(' EVENTS.USER_SPAM_FEEDS: $data');\n      },\n    );\n    pushSocket.on(\n      EVENTS.DISCONNECT,\n      (data) {\n        print(' EVENTS.DISCONNECT: $data');\n      },\n    );\n  }\n}\n ```\n\n\n---\n\n## Resources\n- **[Website](https://push.org)** To checkout our Product.\n- **[Docs](https://docs.push.org/developers/)** For comprehensive documentation.\n- **[Blog](https://medium.com/push-protocol)** To learn more about our partners, new launches, etc.\n- **[Discord](discord.gg/pushprotocol)** for support and discussions with the community and the team.\n- **[GitHub](https://github.com/ethereum-push-notification-service)** for source code, project board, issues, and pull requests.\n- **[Twitter](https://twitter.com/pushprotocol)** for the latest updates on the product and published blogs.\n\n\n## Contributing\n\nPush Protocol is an open source Project. We firmly believe in a completely transparent development process and value any contributions. We would love to have you as a member of the community, whether you are assisting us in bug fixes, suggesting new features, enhancing our documentation, or simply spreading the word. \n\n- Bug Report: Please create a bug report if you encounter any errors or problems while utilising the Push Protocol.\n- Feature Request: Please submit a feature request if you have an idea or discover a capability that would make development simpler and more reliable.\n- Documentation Request: If you're reading the Push documentation and believe that we're missing something, please create a docs request.\n\n\nRead how you can contribute \u003ca href=\"https://github.com/ethereum-push-notification-service/push-sdk/blob/main/contributing.md\"\u003eHERE\u003c/a\u003e\n\nNot sure where to start? Join our discord and we will help you get started!\n\n\n\u003ca href=\"https://discord.gg/pushprotocol\" title=\"Join Our Community\"\u003e\u003cimg src=\"https://www.freepnglogos.com/uploads/discord-logo-png/playerunknown-battlegrounds-bgparty-15.png\" width=\"200\" alt=\"Discord\" /\u003e\u003c/a\u003e\n\n## License\nCheck out our License \u003ca href='https://github.com/ethereum-push-notification-service/push-swift-sdk/blob/main/license-v1.md'\u003eHERE \u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpushchain%2Fpush-socket-client-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpushchain%2Fpush-socket-client-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpushchain%2Fpush-socket-client-dart/lists"}