每个上传&下载通知并引用“放大转移服务正在运行”
我正在使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
感谢您伸出援手!
对于#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.