All Projects → lizhangqu → plugin-flutter-patch

lizhangqu / plugin-flutter-patch

Licence: other
flutter patch generator in gradle

Programming Languages

java
68154 projects - #9 most used programming language
groovy
2714 projects

Projects that are alternatives of or similar to plugin-flutter-patch

Apkdiffpatch
a C++ library and command-line tools for Zip(Jar,Apk) file Diff & Patch; create minimal delta/differential; support Jar sign(apk v1 sign) & apk v2,v3 sign .
Stars: ✭ 121 (+450%)
Mutual labels:  patch
Uksm
Ultra Kernel Samepage Merging
Stars: ✭ 176 (+700%)
Mutual labels:  patch
OS-X-Yosemite-on-Unsupported-Macs
Install OS X Yosemite on Unsupported Macs
Stars: ✭ 23 (+4.55%)
Mutual labels:  patch
Patchfluent
💧 🦄 Customize Windows 10 Updates
Stars: ✭ 128 (+481.82%)
Mutual labels:  patch
Iterm2 Borderless
Borderless iTerm2 patch with a few extra features
Stars: ✭ 165 (+650%)
Mutual labels:  patch
Jsondiffpatch.net
JSON object diffs and reversible patching (jsondiffpatch compatible)
Stars: ✭ 198 (+800%)
Mutual labels:  patch
Facebook ssl pinning
Bypassing SSL Pinning in Facebook Android App
Stars: ✭ 95 (+331.82%)
Mutual labels:  patch
ctn
Unofficial Android patch for GTASA Android with various quality of life improvements
Stars: ✭ 44 (+100%)
Mutual labels:  patch
Patchman
Patchman is a Linux Patch Status Monitoring System
Stars: ✭ 163 (+640.91%)
Mutual labels:  patch
Chrome Developer Mode Extension Warning Patcher
⇒ Disable Chrome's Developer Mode Extension Warning Popup & Elision WWW/HTTPS Hiding & Debugging Extension Popup
Stars: ✭ 240 (+990.91%)
Mutual labels:  patch
Binch
A light ELF binary patch tool in python urwid
Stars: ✭ 139 (+531.82%)
Mutual labels:  patch
Astor
Automatic program repair for Java with generate-and-validate techniques ✌️✌️: jGenProg (2014) - jMutRepair (2016) - jKali (2016) - DeepRepair (2017) - Cardumen (2018) - 3sfix (2018)
Stars: ✭ 152 (+590.91%)
Mutual labels:  patch
Ex audit
Ecto auditing library that transparently tracks changes and can revert them.
Stars: ✭ 214 (+872.73%)
Mutual labels:  patch
Axbaseplugin
Android Plugin Framework
Stars: ✭ 122 (+454.55%)
Mutual labels:  patch
KanColle-English-Patch-KCCP
English Patch for the original KanColle browser game, to be used with KCCacheProxy. Translates most of the game into english.
Stars: ✭ 28 (+27.27%)
Mutual labels:  patch
Macos Patcher
Command line tool for running macOS on unsupported Macs
Stars: ✭ 114 (+418.18%)
Mutual labels:  patch
Wasmpatch
🧱Yet Another Patch Module for iOS/macOS via WebAssembly
Stars: ✭ 192 (+772.73%)
Mutual labels:  patch
sane patch
Making monkey patches sane again
Stars: ✭ 63 (+186.36%)
Mutual labels:  patch
diffy
Tools for finding and manipulating differences between files
Stars: ✭ 47 (+113.64%)
Mutual labels:  patch
Unofficialcrusaderpatch
Unofficial balancing patch installer for Stronghold Crusader 1
Stars: ✭ 216 (+881.82%)
Mutual labels:  patch

flutter patch gradle plugin

文章链接

Flutter 动态化探索

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath "io.github.lizhangqu:plugin-flutter-patch:1.0.7"
    }
}

apply plugin: 'flutter.patch'

生成patch

gradlew assembleReleaseFlutterPatch -PbaselineApk=/path/to/baseline.apk 

或者传递maven坐标

gradlew assembleReleaseFlutterPatch -PbaselineApk=x:y:z

其中x:y:z为基线包maven坐标

自定义patch下载url,下载模式,安装模式

apply plugin: 'flutter.transform'
flutterTransform {
      patchClass = "io.github.lizhangqu.flutter.FlutterUpdate"
      downloadUrlMethod = "getDownloadURL"
      installModeMethod = "getInstallMode"
      downloadModeMethod = "getDownloadMode"
}
@Keep
public class FlutterUpdate {

    @Keep
    public static String getDownloadURL(Context context) {
       return null;
    }

    @Keep
    public static String getDownloadMode(Context context) {
        return null;
    }

    @Keep
    public static String getInstallMode(Context context) {
        return null;
    }
}

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].