{"id":20732422,"url":"https://github.com/jpush/jmessage-flutter-plugin","last_synced_at":"2025-08-21T09:32:27.162Z","repository":{"id":33869426,"uuid":"162083885","full_name":"jpush/jmessage-flutter-plugin","owner":"jpush","description":"JMessage's Flutter plugin (Android \u0026 iOS). 极光推送官方支持的 Flutter 插件（Android \u0026 iOS）。","archived":false,"fork":false,"pushed_at":"2022-07-06T09:04:39.000Z","size":362,"stargazers_count":166,"open_issues_count":59,"forks_count":60,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-12-12T21:22:40.706Z","etag":null,"topics":["android","flutter","ios","jmessage"],"latest_commit_sha":null,"homepage":" https://docs.jiguang.cn","language":"Java","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/jpush.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}},"created_at":"2018-12-17T06:18:58.000Z","updated_at":"2023-12-05T01:16:25.000Z","dependencies_parsed_at":"2022-08-07T23:30:22.439Z","dependency_job_id":null,"html_url":"https://github.com/jpush/jmessage-flutter-plugin","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fjmessage-flutter-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fjmessage-flutter-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fjmessage-flutter-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fjmessage-flutter-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpush","download_url":"https://codeload.github.com/jpush/jmessage-flutter-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230507048,"owners_count":18236944,"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":["android","flutter","ios","jmessage"],"created_at":"2024-11-17T05:19:21.994Z","updated_at":"2024-12-19T22:07:13.780Z","avatar_url":"https://github.com/jpush.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![QQ Group](https://img.shields.io/badge/QQ%20Group-862401307-red.svg)]()\n[![pub package](https://img.shields.io/pub/v/jmessage_flutter.svg)](https://pub.flutter-io.cn/packages/jmessage_flutter)\n\n# jmessage_flutter\n\n### 安装\n\n在工程 pubspec.yaml 中加入 dependencies\n\n```\n//github 集成  \ndependencies:\n  jmessage_flutter:\n    git:\n      url: git://github.com/jpush/jmessage-flutter-plugin.git\n      ref: master\n\n//pub.dev 集成\ndependencies:\n  jmessage_flutter: 2.2.1\n```\n\n\n### 配置\n\n在 `/android/app/build.gradle` 中添加下列代码：\n\n```gradle\nandroid {\n    ......\n    defaultConfig {\n        applicationId \"com.xxx.xxx\" //JPush上注册的包名.\n        ......\n\n        ndk {\n            //选择要添加的对应cpu类型的.so库。\n            abiFilters 'armeabi', 'armeabi-v7a', 'armeabi-v8a'\n            // 还可以添加 'x86', 'x86_64', 'mips', 'mips64'\n        }\n\n        manifestPlaceholders = [\n            JPUSH_PKGNAME : applicationId,\n            JPUSH_APPKEY : \"你的appkey\", //JPush上注册的包名对应的appkey.\n            JPUSH_CHANNEL : \"developer-default\", //暂时填写默认值即可.\n        ]\n        ......\n    }\n    ......\n}\n```\n\n\n\n### 使用\n\n```dart\nimport 'package:jmessage_flutter/jmessage_flutter.dart';\n```\n\n\n\n### APIs\n\n**注意** : 需要先调用 `JmessageFlutter().init` 来初始化插件，才能保证其它功能正常工作。\n\n[参考](/documents/APIs.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpush%2Fjmessage-flutter-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpush%2Fjmessage-flutter-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpush%2Fjmessage-flutter-plugin/lists"}