Cordova插件网络信息警告:在修复错误后将始终评估为“true”

时间:2015-10-28 16:52:53

标签: ios xcode cordova cordova-plugins

当我构建应用程序时,我在xcode上遇到了这个问题:

/ MY_APP /.../ Plugins / cordova-plugin-network-information / CDVConnection.m:121:10:'UIApplicationDidEnterBackgroundNotification'的地址将始终评估为'true' /MY_APP/.../Plugins/cordova-plugin-network-information/CDVConnection.m:121:58:'UIApplicationWillEnterForegroundNotification'的地址将始终评估为'true'

我正在阅读:https://issues.apache.org/jira/browse/CB-9702 5天前修复了一个错误,但我的应用程序是从头开始创建的。

我像往常一样添加了插件:

setDT(df1)[,  StartTime := +c(TRUE,Category[-1L]!= Category[-.N])]
df1
#        Category StartTime
# 1:          Low         1
# 2:          Low         0
# 3:          Low         0
# 4:          Low         0
# 5: Below Normal         1
# 6: Below Normal         0
# 7:          Low         1
# 8: Below Normal         1
# 9: Below Normal         0
#10: Below Normal         0

我正在使用Node 4.2,cordova 5.3和XCode 7.0

这是代码:

$ cordova plugin add  cordova-plugin-network-information
Fetching plugin "cordova-plugin-network-information" via npm
Installing "cordova-plugin-network-information" for ios
$

我该如何解决?

0 个答案:

没有答案