Giter Site home page Giter Site logo

fake_push's Introduction

fake_push

Build Status Codecov GitHub Tag Pub Package License

flutter版腾讯(信鸽)推送SDK

fake 系列 libraries

dart/flutter 私服

docs

verify

  • 华为通道(Android)
  • 小米通道(Android)
  • 信鸽通道(Android)
  • 信鸽通道(iOS)

android

# 混淆已打入 Library,随 Library 引用,自动添加到 apk 打包混淆
...
android {
    ...
    defaultConfig {
        ...
        manifestPlaceholders = [
                XG_ACCESS_ID    : '${信鸽ACCESSID}',
                XG_ACCESS_KEY   : '${信鸽ACCESSKEY}',
                XG_ACCESS_SCHEME: '${信鸽统一打开APP行为SCHEME}',// 非官方参数,可自定义(例如:fake_push),统一打开方式为 intent
                HW_APPID        : '${华为的APPID}',
                XIAOMI_APPID    : '${小米的APPID}',
                XIAOMI_APPKEY   : '${小米的APPKEY}',
                PACKAGE_NAME    : "${applicationId}",// 小米通道
        ]
        ...
    }
    ...
}

通知打开应用 -> 使用Intent来跳转指定页面

例如:
fake_push://v7lin.github.io/notify_detail
fake_push://v7lin.github.io/notify_detail?param1=aa&param2=bb

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}

Demo

Demo

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.

fake_push's People

Contributors

droplet-js avatar tjcdn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.