Skip to content

avastxa/fake_push

Repository files navigation

fake_push

Build Status Codecov GitHub Tag Pub Package License

flutter版腾讯(信鸽)推送SDK

fake 系列 libraries

dart/flutter 私服

docs

android

# 混淆已打入 Library,随 Library 引用,自动添加到 apk 打包混淆
...
android {
    ...
    defaultConfig {
        ...
        manifestPlaceholders = [
                XG_ACCESS_ID: "${信鸽ACCESSID}",
                XG_ACCESS_KEY: "${信鸽ACCESSKEY}",
                HW_APPID: "${华为的APPID}",
                XIAOMI_APPID: "${小米的APPID}",
                XIAOMI_APPKEY: "${小米的APPKEY}",
                MEIZU_APPID: "${魅族的APPID}",
                MEIZU_APPKEY: "${魅族的APPKEY}"
        ]
        ...
    }
    ...
}
通知打开应用
notificationActionType = 1

ios

# Capabilities
Background Modes -> Remote notifications
Push Notifications
# info 添加字段 XG_ACCESS_ID、XG_ACCESS_KEY
<key>XG_ACCESS_ID</key>
<string>${信鸽ACCESSID}</string>
<key>XG_ACCESS_KEY</key>
<string>${信鸽ACCESSKEY}</string>

flutter

  • snapshot
dependencies:
  fake_push:
    git:
      url: https://github.com/v7lin/fake_push.git
  • release
dependencies:
  fake_push: ^${latestTag}
  • example

示例

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

flutter版腾讯(信鸽)推送SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages