Search packages, repositories and app categories

Package detailsv3.6.2

jpush_flutter

JIGUANG officially supported JPush Flutter plugin (Android & iOS). 极光推送官方支持的 Flutter 插件(Android & iOS)(https://www.jiguang.cn).

AndroidiOS
30-day downloads
12.7K
Likes
114
Pub points
120

Install package

flutter pub add jpush_flutter

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

JPush Flutter is the official plugin for integrating JIGUANG's push notification service into Flutter applications on both Android and iOS platforms. It enables developers to send and receive push notifications, manage device registration tokens, and handle notification interactions within their apps. The plugin provides a reliable, cross-platform solution for real-time messaging and user engagement. With support from the official JIGUANG team, it ensures compatibility and timely updates. Developers can easily implement features like silent pushes, custom payloads, and badge management.

Use cases

  • Sending targeted push notifications
  • Handling push notification clicks
  • Managing device registration tokens
  • Implementing silent background pushes
  • Tracking notification delivery status

Key features

  • Official JIGUANG support
  • Cross-platform Android & iOS compatibility
  • Support for custom payload data
  • Integration with JIGUANG console
  • Real-time push delivery monitoring

Suitable for

  • Apps requiring reliable push notifications
  • Mobile apps using JIGUANG's backend services
  • Developers targeting both Android and iOS
  • Projects needing deep push interaction control
  • Applications focused on user engagement

Considerations

  • Requires JIGUANG account and app key
  • Needs proper platform-specific setup (e.g., Firebase for iOS)
  • May require additional permissions in AndroidManifest.xml
  • Dependent on JIGUANG server availability
  • Limited customization without backend integration

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

QQ Group

JPush Flutter Plugin

flutter 2.0 请切换至 dev-2.x 分支。

安装

在工程 pubspec.yaml 中加入 dependencies

  
//github  集成
dependencies:
  jpush_flutter:
    git:
      url: git://github.com/jpush/jpush-flutter-plugin.git
      ref: master
      
// pub 集成
dependencies:
  jpush_flutter: 2.1.4
配置
Android:

在 /android/app/build.gradle 中添加下列代码:

android: {
  ....
  defaultConfig {
    applicationId "替换成自己应用 ID"
    ...
    ndk {
	//选择要添加的对应 cpu 类型的 .so 库。
	abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'x86_64', 'mips', 'mips64', 'arm64-v8a',        
    }

    manifestPlaceholders = [
        JPUSH_PKGNAME : applicationId,
        JPUSH_APPKEY : "appkey", // NOTE: JPush 上注册的包名对应的 Appkey.
        JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
    ]
  }    
}
iOS:
  • 在 xcode8 之后需要点开推送选项: TARGETS -> Capabilities -> Push Notification 设为 on 状态
使用
import 'package:jpush_flutter/jpush_flutter.dart';
APIs

注意 : 需要先调用 JPush.setup 来初始化插件,才能保证其他功能正常工作。

参考

Categories

Dependencies

Dependency list 1 items

  • plugin_platform_interface^2.0.2

Source repository

Projects using this package