We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b05990f commit 8907a55Copy full SHA for 8907a55
README.md
@@ -327,7 +327,6 @@ val appDialogConfig = AppDialogConfig(context)
327
.setShowNotification(true) // 设置是否显示通知
328
.setShowPercentage(true) // 设置是否显示百分比(通知更新进度)
329
.setInstallApk(true) // 下载完成后是否自动请求安装APK
330
- .setHttpManager(getInstance()) // 使用OkHttp的实现进行下载(需依赖okhttp)
331
.setDownloadListener(object : SimpleDownloadListener() { // 下载监听
332
override fun onStart(url: String) {
333
// 开始下载
@@ -386,7 +385,7 @@ private val requestPermissionLauncher = registerForActivityResult(ActivityResult
386
385
// TODO 授权通过;开始下载更新
387
AppUpdater(this, apkUrl).start()
388
} else {
389
- // TODO 授权申请被拒绝
+ // TODO 授权被拒绝
390
showToast("Notification permission denied!")
391
}
392
0 commit comments