Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Qihoo360/RePlugin
RePlugin - A flexible, stable, easy-to-use Android Plug-in Framework
https://github.com/Qihoo360/RePlugin
Last synced: 3 months ago
JSON representation
RePlugin - A flexible, stable, easy-to-use Android Plug-in Framework
- Host: GitHub
- URL: https://github.com/Qihoo360/RePlugin
- Owner: Qihoo360
- License: apache-2.0
- Created: 2017-06-08T09:39:09.000Z (over 7 years ago)
- Default Branch: dev
- Last Pushed: 2022-10-26T09:44:28.000Z (about 2 years ago)
- Last Synced: 2024-04-10T09:08:00.286Z (9 months ago)
- Language: Java
- Homepage:
- Size: 23.2 MB
- Stars: 7,224
- Watchers: 433
- Forks: 1,515
- Open Issues: 333
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android - RePlugin - RePlugin是一套完整的、稳定的、适合全面使用的,占坑类插件化方案,由360手机卫士的RePlugin Team研发,也是业内首个提出”全面插件化“(全面特性、全面兼容、全面使用)的方案。 (Plugin)
README
[![license](http://img.shields.io/badge/license-Apache2.0-brightgreen.svg?style=flat)](https://github.com/Qihoo360/RePlugin/blob/master/LICENSE)
[![Release Version](https://img.shields.io/badge/release-2.3.3-brightgreen.svg)](https://github.com/Qihoo360/RePlugin/releases)
## !!!重要通知!!!
由于jcenter停服原因,RePlugin将迁移到http://maven.geelib.360.cn/nexus上
如果需要继续接入RePlugin,需要在项目的build.gradle内增加新的仓库地址:
maven {url "http://maven.geelib.360.cn/nexus/repository/replugin/"}
## 通知
**360开源又一力作——[ArgusAPM移动性能监控平台](https://github.com/Qihoo360/ArgusAPM)**
[ArgusAPM](https://github.com/Qihoo360/ArgusAPM)是360手机卫士客户端团队继RePlugin之后开源的又一个重量级开源项目。ArgusAPM是360移动端产品使用的可视化性能监控平台,为移动端APP提供性能监控与管理,可以迅速发现和定位各类APP性能和使用问题,帮助APP不断的提升用户体验。
**360移动技术最新活动通知:**
2018年12月16日,360移动性能开放日邀您参加,届时将会有360、美团技术大牛为大家分享Android、iOS性能监控实践。
欢迎报名参加,戳戳戳!!!-->https://mp.weixin.qq.com/s/-7DCnXI_EBMBwYG_PUuUDg## RePlugin —— A flexible, stable, easy-to-use Android Plug-in Framework
RePlugin is a complete Android plug-in solution which is suitable for general use.
([文档,还是中文的好](./README_CN.md))
It is major strengths are:
* **Extreme flexibility**: Apps do not need to be upgraded to support new components, **even brand new plug-ins**.
* **Extraordinary stability**: With only **ONE** hook (ClassLoader), **NO BINDER HOOK**. RePlugin’s Crash ratio is **as low as Ten thousandth (0.01%)**. In addition, RePlugin is compatible with almost **ALL Android ROMs** in the market.
* **Rich features**: RePlugin supports **almost all features seamlessly as an installed application**, including static Receiver, Task-Affinity, user-defined Theme, AppCompat, DataBinding, etc.
* **Easy integration**: It takes only couple lines to access, whether plug-ins or main programs.
* **Mature management**: RePlugin owns stable plug-in management solution which supports installation, upgrade, uninstallation and version management. Process communication, protocol versions and security check are also included.
* **Hundreds of millions support**: RePlugin possesses **hundreds of millions users from 360 MobileSafe.** After more than three-year verification, we guarantee the solution that Apps use is the most stable and suitable.By the end of June 2017, RePlugin has already made some achievements:
| Feature | Achievement |
|:-------------:|:-------------:|
| **Plug-in Number** | **103** |
| **Ratio of plug-ins to applications** | **83%** |
| **Version released pre year** | **596** |
| **Crash** | **0.01%, Extraordinary stability** |
| **First Release** | **2014** |At present, almost **all Apps with hundreds of millions users from 360, and many mainstream third-party Apps, are using RePlugin solution**.
### We support:
| Feature | Description |
|:-------------:|:-------------:|
| Components | **Activity, Service, Provider, Receiver(Including static)** |
| Not need to upgrade when brand a new Plug-in | **Supported** |
| Android Feature | **Supported almost all features** |
| TaskAffinity & Multi-Process | **Perfect supported!** |
| Support Plug-in Type | **Built-in (Only Two Step) and External(Download)** |
| Plug-in Coupling | **Binder, Class Loader, Resources, etc.** |
| Interprocess communication | **Sync, Async, Binder and Cross-plug-in broadcast** |
| User-Defined Theme & AppComat | **Supported** |
| DataBinding | **Supported** |
| Safety check when installed | **Supported** |
| Resources Solution | **Independent Resources + Context pass(No Adaptation ROM)** |
| Android Version | **API Level 9 (Android 2.3 and above)** |## Our Vision
Make RePlugin be used in all kinds of ordinary Apps; and provide stable, flexible, liberal plug-ins which adopt for both large and small projects.## Latest features
Solved the Android P (Android 9.0) related adaptation issues, fully support the official version of Android P (Android 9.0).## RePlugin Architecture
## How to Use RePlugin
Using RePlugin is very simple. Under most conditions, using it is no different than developing an App.If you are **the first-time user, please [click here to read Quick Start Guide(Chinese Version)](https://github.com/Qihoo360/RePlugin/wiki/%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B).** Following our guide, you will learn more about RePlugin.
If you wish to **learn more gameplays about RePlugin, please [click here to read Step-by-step Tutorial(Chinese Version)](https://github.com/Qihoo360/RePlugin/wiki/%E8%AF%A6%E7%BB%86%E6%95%99%E7%A8%8B)**.
If you want to **view RePlugin’s sample project, and learn concrete usage of the frame, please [click here to check Sample SC](https://github.com/Qihoo360/RePlugin/blob/master/replugin-sample)**.
If you **have any question, please [click here to read FAQ(Chinese Version)](https://github.com/Qihoo360/RePlugin/wiki/FAQ)**.
## These apps are using RePlugin
360 Mobile Safe
360 App Store
360 Mobile Browser
HuaJiao Camera
360 Clean Master
360 Kan Movie
JieQianBa
1 HaiTao
HuaRun Tong
JieLeMa
360OS App
360 Loan
(Internal App)
(Internal App)
(Internal App)
## Plug-ins Accessed in RePlugin
For your reference, plug-ins accessed can be classified into following categories:
* **Expo plug-ins**: Safe Home Page, physical examination, information flow, etc.
* **Business plug-ins**: cleaning, disturbance intercept, floating window, etc.
* **Cooperation plug-ins**: App Lock, free Wi-Fi, security desktop, etc.
* **Background plug-ins**: Push, service management, Protobuf, etc.
* **Base plug-ins**: Security WebView, share, location service, etc.By the end of June 2017, we already have 102 plug-ins like these. We look forward to you becoming a part of RePlugin family!
## Contribute Your Share
We sincerely welcome and appreciate your contribution of any kind. You can submit code, raise suggestions, write documentation, etc. For more information, please [click here to read Contribute Your Share(Chinese Version)](https://github.com/Qihoo360/RePlugin/wiki/%E8%B4%A1%E7%8C%AE%E5%8A%9B%E9%87%8F).## License
RePlugin is [Apache v2.0 licensed](./LICENSE).
(Thanks Xiezihan(谢子晗) for providing the translations.)