Giter Site home page Giter Site logo

android-configservice's Introduction

mPaaS ConfigService Demo

本 demo 为 开关配置 单组件 demo,clone 后直接运行工程即可。

控制台环境

  • 本 demo 对应的是公有云 mPaaS Demo 应用。
  • 如需切换到您的 app,可在控制台中下载配置文件后替换 demo 中的 Ant-mpaas-570DA89281533-default-Android.config 文件。

支持基线与接入方式

支持 inside 和 aar 两种接入方式,支持基线:

  • 10.1.60,支持 inside 方式
  • 10.1.68,支持 inside 和 aar 方式

demo 中默认使用10.1.68基线。

切换接入方式

  • demo中通过 gradle.properties 文件中 mPaasBuildType 字段区分接入方式,默认aar,可修改为inside(等号前后不要有空格)。
  • app/build.gradle 和 根目录/build.gradle 文件中也通过 mPaasBuildType 字段针对不同的接入方式添加了相应配置,自行集成时请留意。

降级10.1.60

如需降级10.1.60,请按照如下步骤:

  1. 删除 mpaas_packages.json 文件。
  2. mPaaS IDEA插件 -> 组件管理 -> 选择基线 -> 确认。
  3. mPaaS IDEA插件 -> 组件管理 -> 安装开关配置组件。
  4. 同步工程。

注意:aar 接入方式无法降级10.1.60。

android-configservice's People

Contributors

spinytech avatar

Watchers

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