Giter Site home page Giter Site logo

bastyyj / flutter_walle_plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hjc22/flutter_walle_plugin

0.0 0.0 0.0 580 KB

美团walle 渠道打包工具 flutter插件

License: Other

Java 16.91% Dart 54.46% Ruby 19.89% Swift 6.15% Objective-C 2.59%

flutter_walle_plugin's Introduction

flutter_walle_plugin

美团walle 渠道包打包工具 flutter插件, 支持获取channel 、hannelInfo,并提供了walle cli 打包快捷工具

使用本插件前应看一下walle 开发文档 https://github.com/Meituan-Dianping/walle

项目内使用

   xxx.dart


   import 'package:flutter_walle_plugin/flutter_walle_plugin.dart';

   try {
    String channel = await FlutterWallePlugin.getWalleChannel();
    } on PlatformException {
      
    }


    try {
    String channel = await FlutterWallePlugin.getWalleChannelInfo();
    } on PlatformException {
      
    }

快捷打包apk

channel、channelConfig.json文件需要放在项目根目录,配置信息实例如下: 渠道配置文件示例 渠道&额外信息配置文件示例

  setChannel        编译apk并写入渠道号 flutter pub run flutter_walle_plugin setChannel flutter build apk

  setInfo           编译apk并写入渠道信息 flutter pub run flutter_walle_plugin setInfo flutter build apk

  getInfo           查看指定apk文件渠道信息 flutter pub run flutter_walle_plugin getInfo /Users/hjc1/Documents/flutter/money_answer/channelApks/app-release_huawei.apk

flutter_walle_plugin's People

Contributors

hjc22 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.