MobileFirst 7.1 -在ios 10上运行时遇到WL.JSONStore.init问题



由于升级到IOS 10 JSONStore初始化失败,同样的事情在IOS 9及以下版本中工作正常。

误差

Tried to record an true without a starting timestamp
Uncaught Exception: TypeError: cdv.exec is not a function. (In 'cdv.exec(options.onSuccess, options.onFailure, pluginName, nativeFunction, args)', 'cdv.exec' is undefined) at (compiled_code):1307

iOS和Cordova iOS的示例应用程序都可以在iOS 10中运行。我建议您检查一下这些方法是如何处理JSONstore的,并确保您遵循这些方法。否则,您需要提供一个可重现此错误的示例应用程序。

请看这里:https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/using-the-mfpf-sdk/jsonstore/

最新更新