Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

UC10D/LessCode-Update

Open more actions menu
 
 

Repository files navigation

Jcenter Status

LessCode-Update

the best android check update library!

Gradle

compile('com.jayfeng:lesscode-update:0.8.1');

Overview

  • 一键集成,代码少,简单
  • 稳定,考虑周全,经过商业验证
  • 兼容Android7.0+
  • 开源

Usage

基本配置继承自LessCode:

$.getInstance()
    .update(null, 1, R.mipmap.ic_launcher)   // 自定义下载图标
    .build();

为了兼容Android 7.0+的FileProvider,而Provider是不能冲突的,所以必须自定义这个Provider的author:

android {
    defaultConfig {
        resValue "string", "less_provider_file_authorities", "<packageName>.fileprovider"
    }
}

切记!切记!一定要加!

Author

Author weibo:冯建V    mail:673592063@qq.com    QQ:673592063

License

Copyright (C)  LessCode Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

update library for android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.