小编use*_*153的帖子

如何在Ionic应用程序中添加后台服务

我尝试使用cordova Background Geolocation将我的位置发送到后台的服务器.但是当我在一段时间后将我的应用程序放在后台时它停止工作.所以我尝试了BackgroundFetch服务https://github.com/christocracy/cordova-plugin-background-fetch但是不起作用:错误是:

You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
Run Code Online (Sandbox Code Playgroud)

如何在我的Info.plist中将fetch添加到支持的UIBackgroundModes列表中?

service background ios cordova ionic-framework

6
推荐指数
1
解决办法
4537
查看次数

标签 统计

background ×1

cordova ×1

ionic-framework ×1

ios ×1

service ×1