本文介绍了window.plugins在cordova-2.0.0中未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在BlackBerry设备中使用BarcodeScanner插件来安装Cordova,但没有运气。示例代码使用以下结构:

I'm trying to use the BarcodeScanner plugin for Cordova in a BlackBerry device without luck. The sample code makes use of this structure:

window.plugins.BarcodeScanner...

window.plugins undefined

我尝试了一个新的新应用程序, window.plugins 继续是 undefined (我的意思是,示例应用程序没有任何添加)。

I tried with a fresh new application and window.plugins continues to be undefined (I mean, the sample application without any addition).

API已更改,文档已过时或缺少某些内容?

Did the api have changed and the documentation is outdated or there's something I'm missing?

谢谢!

推荐答案

所有,我今天早上推出了一个新的BarcodeScanner 2.0.0版本。

All, I pushed a new BarcodeScanner this morning that works with 2.0.0.

这篇关于window.plugins在cordova-2.0.0中未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 16:09