{"id":18430745,"url":"https://github.com/sunfusheng/firupdater","last_synced_at":"2025-04-07T17:33:52.274Z","repository":{"id":89229527,"uuid":"121835058","full_name":"sunfusheng/FirUpdater","owner":"sunfusheng","description":"Fir.im通道APK更新器，使用简单，让自己的demo快速具备升级功能","archived":false,"fork":false,"pushed_at":"2020-04-03T15:29:41.000Z","size":8367,"stargazers_count":150,"open_issues_count":4,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-22T22:24:12.331Z","etag":null,"topics":["downloader","fir","notification","updater"],"latest_commit_sha":null,"homepage":"https://github.com/sfsheng0322/FirUpdater","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunfusheng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-17T07:08:17.000Z","updated_at":"2023-11-30T05:53:27.000Z","dependencies_parsed_at":"2023-06-14T12:30:44.490Z","dependency_job_id":null,"html_url":"https://github.com/sunfusheng/FirUpdater","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfusheng%2FFirUpdater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfusheng%2FFirUpdater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfusheng%2FFirUpdater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunfusheng%2FFirUpdater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunfusheng","download_url":"https://codeload.github.com/sunfusheng/FirUpdater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247698190,"owners_count":20981315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["downloader","fir","notification","updater"],"created_at":"2024-11-06T05:22:15.126Z","updated_at":"2025-04-07T17:33:52.266Z","avatar_url":"https://github.com/sunfusheng.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FirUpdater [ ![Download](https://api.bintray.com/packages/sfsheng0322/maven/FirUpdater/images/download.svg) ](https://bintray.com/sfsheng0322/maven/FirUpdater/_latestVersion)\n\nFir.im通道APK更新器，使用简单，让自己的demo快速具备升级功能\n\n\u003cbr/\u003e\n\n### 应用截图\n\n![](resources/res.png)\n\n\u003cbr/\u003e\n\n### Gradle:\n\n工程的 build.gradle 添加：\n\n    allprojects {\n        repositories {\n            maven { url 'https://dl.bintray.com/sfsheng0322/maven' }\n        }\n    }\n    \n模块的 build.gradle 添加：\n\n    compile 'com.sunfusheng:FirUpdater:\u003clatest-version\u003e'\n    \nAndroid 8.0以上需要添加权限\n\n    \u003cuses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/\u003e\n\n\u003cbr/\u003e\n\n### 使用\n\n1、检查升级一行代码即可：\n\n    FirUpdater.getInstance(context)\n        .apiToken(YOUR_FIR_API_TOKEN)\n        .appId(YOUR_FIR_APP_ID)\n        .apkPath(YOUR_APK_PATH)\n        .apkName(YOUR_APK_NAME)\n        .checkVersion();\n\n2、如果不设置apkPath，默认下载到SDCard的根目录下\n\n3、如果不设置apkName，默认名称为【appName-versionName】\n\n\u003cbr/\u003e\n\n### 扫一扫[Fir.im](https://fir.im/FirUpdater)二维码下载APK\n\n\u003cimg src=\"/resources/fir.im.png\"\u003e\n\n\u003cbr/\u003e\n\n### 个人微信公众号\n\n\u003cimg src=\"http://sunfusheng.com/assets/wx_gongzhonghao.png\"\u003e\n\n\u003cbr/\u003e\n\n### 请作者喝杯咖啡^_^\n\n\u003cimg src=\"http://sunfusheng.com/assets/wx_shoukuanma.png\" \u003e\n\n\u003cbr/\u003e\n\n### 关于我\n\n[GitHub: sunfusheng](https://github.com/sunfusheng)  \n\n[个人邮箱: sfsheng0322@126.com](https://mail.126.com/)\n  \n[个人博客: sunfusheng.com](http://sunfusheng.com/)\n  \n[简书主页](http://www.jianshu.com/users/88509e7e2ed1/latest_articles)\n  \n[新浪微博](http://weibo.com/u/3852192525) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunfusheng%2Ffirupdater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunfusheng%2Ffirupdater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunfusheng%2Ffirupdater/lists"}