本文介绍了nativescript-background-http文件上传通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将文件上传到服务器并在Android设备上获取通知

I upload files to server and get notifications on my android device

如何将通知合并到堆栈中?

What can I do to combine notifications into a stack?

推荐答案

该插件使用 android -upload-service 库,用于发布通知.该库分配,以便将所有内容堆叠在一起,但是如果要将它们与摘要组合,则必须显式创建具有相同组的摘要通知,以便将所有内容组合为一个.

The plugin uses android-upload-service library which is responsible for publishing notifications. The library assigns a Group for each notification so everything is stacked, but if you want to combine them with a summary then you must explicitly create a summary notification with same group so everything will be combined into one.

此线程可能会向您展示如何创建摘要通知,您必须分配相同的库中使用的组.

This thread may show you how to create a summary notification, you will have to assign the same group used in the library.

您还可以在 android-upload-service 上提出功能请求.

You may also raise a feature request at android-upload-service.

这篇关于nativescript-background-http文件上传通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 08:59