后台权限配置过过如下:
"UIBackgroundModes" : [
"bluetooth-central",
"bluetooth-peripheral",
"audio",
"location",
"fetch",
"background - transfers",
"remote-notification"
]
试过息屏状态下网络请求可以,但是息屏状态下uni.uploadFile好像被阻断似得,必须等亮屏才执行api 或 亮屏才执行回调success,有人遇到这种问题么
0 个回复