ios_push_plugin 0.1.1 copy "ios_push_plugin: ^0.1.1" to clipboard
ios_push_plugin: ^0.1.1 copied to clipboard

PlatformiOS

iOS only plugin for handling APNs and system push notifications.

🍎 ios_push_plugin #

轻量级 iOS 推送注册插件 —— 基于原生 APNs (Apple Push Notification Service) 封装,
为 Flutter 提供 简洁、可监听、可调试 的推送初始化与回调机制。


✨ 特性 (Features) #

  • ✅ 一行代码初始化推送服务 (initPush)
  • ✅ 持续监听推送事件 (onMessage Stream)
    • Stream 版本:实时更新 UI
    • Future 版本:一次性回调,自动取消监听
  • ✅ 错误捕获回调 (onError)
  • ✅ 插件日志可控 (enableLog)
  • ✅ 自动反序列化 NotificationContent
    • 包含 payloadcustom_data
  • ✅ 请求通知权限 (requestPermission)
  • ✅ 获取设备制造商信息 (getManufacturer)
  • ✅ 手动触发注册流程 (register)

⚙️ 安装 (Installation) #

dependencies:
  ios_push_plugin: ^0.1.1
1
likes
130
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

iOS only plugin for handling APNs and system push notifications.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on ios_push_plugin

Packages that implement ios_push_plugin