每个上传&下载通知并引用“放大转移服务正在运行”

发布于 2025-02-13 04:21:44 字数 178 浏览 1 评论 0原文

我正在使用AWS Amplify作为我的应用后端来存储图像和视频。在每个上传和下载中,我都会收到上述通知。

问题

1。如何停止该通知?

2。我们可以自定义该通知以显示上传&下载进度?

I'm using AWS Amplify as my app backend to store image and video. In every upload and download I'm getting the above notification.

Questions

1. How to stop that notification?

2. Can we customize that notification to show the upload & download progress?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

稍尽春風 2025-02-20 04:21:44

感谢您伸出援手!

对于#1,在Github上对此问题进行了更详细的讨论: https:https:https:https:https: //github.com/aws-amplify/amplify-android/issues/1803 。同时,在我们结束时要解决问题时,您可以在上传/下载完成后手动停止TransFerservice的问题中应用解决方法:stopService(stopService(intext,context,transferservice :: class.java))。

对于#2,目前不支持在前景通知中显示上传/下载进度的支持。您可以在我们的回购中打开一个GitHub问题( https://github.com/github.com/aws-aws-amplify /放大android )进行一般讨论,以便我们可以评估客户对此功能的需求。

Thank you for reaching out!

For #1, There’s a more detailed discussion of that issue on GitHub here: https://github.com/aws-amplify/amplify-android/issues/1803. In the meantime, while it is being addressed on our end, you can apply the workaround in that issue where you manually stop the TransferService once the upload/download is finished: stopService(Intent(context, TransferService::class.java)).

For #2, Support for showing upload/download progress in the foreground notification is currently not supported. You can open up a GitHub issue in our repo (https://github.com/aws-amplify/amplify-android) for general discussion so that we can gauge customer desire for this feature.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文