以下外掛程式於今日更新
- cordova-plugin-battery-status: 0.2.10
- cordova-plugin-camera: 0.3.1
- cordova-plugin-console: 0.2.10
- cordova-plugin-contacts: 0.2.12
- cordova-plugin-device: 0.2.11
- cordova-plugin-device-motion: 0.2.9
- cordova-plugin-device-orientation: 0.3.8
- cordova-plugin-dialogs: 0.2.9
- cordova-plugin-file: 1.3.0
- cordova-plugin-file-transfer: 0.4.5
- cordova-plugin-geolocation: 0.3.9
- cordova-plugin-globalization: 0.3.0
- cordova-plugin-inappbrowser: 0.5.1
- cordova-plugin-media: 0.2.12
- cordova-plugin-media-capture: 0.3.2
- cordova-plugin-network-information: 0.2.11
- cordova-plugin-splashscreen: 0.3.2
- cordova-plugin-statusbar: 0.1.7
- cordova-plugin-vibration: 0.3.10
值得注意的變更包括
- 大多數外掛程式文件現在已翻譯成其他語言。
- FirefoxOS 已更新許多外掛程式的代理程式。
- FirefoxOS 支援已新增至裝置動作外掛程式。
- 檔案外掛程式針對 BlackBerry10、FirefoxOS 和 Windows 進行多項更新。
- BlackBerry10 & FirefoxOS 支援已新增至全球化外掛程式。
這些外掛程式已在我們的註冊表 plugins.cordova.io 上更新。
您可以透過移除外掛程式,然後重新新增來更新任何外掛程式。例如,若要更新您的檔案外掛程式:
cordova plugin rm org.apache.cordova.file
cordova plugin add org.apache.cordova.file
其他變更包括org.apache.cordova.battery-status@0.2.10
org.apache.cordova.camera@0.3.1
- FirefoxOS 更新
CameraProxy.js
。 - CB-7187 iOS:新增對
CoreLocation.framework
的明確相依性。 - BlackBerry10 文件更正 - 支援
sourceType
。 - CB-7071 Android:修正當
allowEdit=true
時,CROP
意圖傳送前觸發回呼的問題。 - CB-6875 Android:處理未掛載 SDCard 時的例外狀況。
- iOS:刪除
postImage
(無用程式碼)。 - 防止當意圖為
null
時,在processResiultFromGallery
上發生NPE
。 - 移除 iOS 文件中對不存在的
navigator.fileMgr API
的參考。 - 已使用一些預設值更新文件。
- 移除 Windows 8 程式碼的檔案外掛程式相依性。
- 使用
WinJS
功能來調整影像大小,而不是使用檔案外掛程式功能。 - CB-6127 已更新文件的翻譯。
org.apache.cordova.console@0.2.10
- CB-6127 已更新文件的翻譯。
org.apache.cordova.contacts@0.2.12
- 修正未傳遞
options
參數時的.find
方法。如果缺少options
參數,則會傳回所有聯絡人。 - FirefoxOS 更新
ContactsProxy.js
。 - CB-6127 已更新文件的翻譯。
- CB-5698 iOS:在使用之前檢查
photoData
是否存在。
org.apache.cordova.device@0.2.11
- FirefoxOS 更新
DeviceProxy.js
。 - CB-6127 已更新文件的翻譯。
- 使用 Windows 系統呼叫以取得更佳的資訊。
org.apache.cordova.device-motion@0.2.9
- FirefoxOS 更新
accelerometer.js
。 - CB-6127 已更新文件的翻譯。
- FirefoxOS 已新增至支援的平台。
org.apache.cordova.device-orientation@0.3.8
- FirefoxOS 更新
compass.js
。 - CB-7187 iOS:新增對
CoreLocation.framework
的明確相依性。 - CB-7187 刪除未使用的
CDVShared.h
的#import
。
org.apache.cordova.dialogs@0.2.9
- Ubuntu:將適當的引數傳遞至提示回呼。
- Ubuntu:使用
TextField
而非TextInput
。 - Ubuntu:在傳遞至
qml
之前,正確地逸出訊息。 - FirefoxOS 更新
notification.js
。 - CB-6127 已更新文件的翻譯。
- Android:明確地將預設主題套用至對話方塊。
- 修正未傳遞任何引數時,Android 上發生的
Beep
例外狀況。
org.apache.cordova.file@1.3.0
- FirefoxOS 從
requestAllPaths
移除不支援的路徑。 - FirefoxOS 支援
resolve URI
、要求所有路徑和本機應用程式目錄。 - CB-4263 將 ready 狀態設定為 onload 前完成。
- CB-7167 BlackBerry10
copyTo
- 傳回包裝的項目,而不是原生項目。 - CB-7167 BlackBerry10 新增目錄支援至
getFileMetadata
。 - CB-7167 BlackBerry10 修正
blob
支援的測試偵測 (window.Blob
是BlobConstructor
物件)。 - CB-7161 BlackBerry10 新增檔案系統目錄路徑。
- CB-7093 為新式測試建立個別的
plugin.xml
。 - CB-7057 文件更新:詳細說明目錄的用途。
- CB-7093:新增
JS 模組
至plugin.xml
檔案以進行自動測試。 - CB-7093 已移植自動檔案測試。
- Windows 移除多餘的函式閉包,不需要。
- Windows 移除對未定義
fail()
的檢查,它由代理程式定義,且永遠存在。 - Windows 重新套用
readAsBinaryString
和readAsArrayBuffer
。 - Windows 已移動類似的呼叫,使其成為相同的呼叫,已別名長命名空間函式。
- CB-6127 已更新文件的翻譯。
- CB-6571 修正
getParentForLocalURL
,使其能正確地處理結尾有 '/' 的目錄 (這會關閉 #58)。 - 當沒有網路時,
UTTypeCopyPreferredTagWithClass
會為 css 傳回nil mimetype
。 - 已更新文件中的規格連結 (僅限英文版)。
- CB-6571 新增結尾空格,在
DirectoryEnty
建構子中缺少。 - CB-6980 修正
Entry
中的filesystem:null
屬性。 - 新增 Windows 8 支援
readAsBinaryString
和readAsArrayBuffer
。 - FirefoxOS 更新
FileProxy.js
。 - CB-6940:如果未掛載 sdcard,
context.getExternal
方法會傳回 null,導致例外狀況,而阻止啟動達到 ready 狀態。 - 修正
Entry.moveTo
中錯誤處理的檔案系統參考。 - CB-6902:使用
File.lastModified
而非.lastModifiedDate
。 - CB-6922:移除未使用的
getMetadata
原生程式碼。 - CB-6922:一致地使用
getFileMetadata
來取得中繼資料。 - 已將 fullPath 變更為
self.rootDocsPath
。 - CB-6890:修正 4.0.x 分支的
pluginManager
存取。
org.apache.cordova.file-transfer@0.4.5
- 已修正
FileTransfer.upload
的參數順序文件。 - FirefoxOS 初始實作。
- CB-6781:向應用程式公開
FileTransferError.exception
。 - CB-6928:將新的錯誤碼新增至文件。
- CB-6928:處理 304 狀態碼。
- CB-6928:僅在必要時開啟輸出串流。
- BlackBerry10 小文件更正。
- CB-6127 已更新文件的翻譯。
- Windows 8 上傳使用提供的
fileName
或實際的fileName
。 - CB-2420 Windows 8 遵從
fileKey
和 param 選項。這會關閉 #15。 - CB-6781:將例外狀況文字新增至錯誤物件。
- CB-6890:修正 4.0.x 分支的
pluginManager
存取。
org.apache.cordova.geolocation@0.3.9
- FirefoxOS 更新
GeolocationProxy.js
。 - CB-7187 iOS:新增對
CoreLocation.framework
的明確相依性。 - CB-7187 刪除未使用的
CDVShared.h
的#import
。 - CB-6127 已更新文件的翻譯。
- iOS:將
distanceFilter
從無變更為 5 公尺,防止即使沒有任何變更也持續發送回呼。
org.apache.cordova.globalization@0.3.0
- 已新增正確的 Apache License 2.0。
- 更新標頭和
NOTICE
檔案。 - 已針對全球化實作 BlackBerry10 支援。
- FirefoxOS 的初始實作。
- CB-4602 iOS:使用標準化值來取得
getPreferredLanguage
。 - CB-6127 已更新文件的翻譯。
- CB-4602
geolocation.getPreferredLanguage
和geolocation.getLocaleName
現在會傳回帶有連字號(-)
的字串,以符合目前標準。
org.apache.cordova.inappbrowser@0.5.1
- Ubuntu:支援
qt 5.2
。 - FirefoxOS 更新
InAppBrowserProxy.js
。 - FirefoxOS 應用程式需要為
privileged
。 - CB-6127 已更新文件的翻譯。
- CB-6769 iOS:修正
statusbar
顏色重設在iOS7+
上無法運作的問題。
org.apache.cordova.media@0.2.12
- CB-6127 已更新文件的翻譯。
- iOS:讓同時播放媒體和錄製音訊更容易。
- 程式碼
#s
代表MediaError
。
org.apache.cordova.media-capture@0.3.2
- Ubuntu:修正編譯器警告。
- Ubuntu:支援
qt 5.2
。 - CB-6127 已更新文件的翻譯。
- CB-6978
captureImage()
函式在 Android 中失敗。 - CB-6890:修正 4.0.x 分支的
pluginManager
存取。
org.apache.cordova.network-information@0.2.11
- FirefoxOS 更新
NetworkProxy.js
。 - CB-6127 已更新文件的翻譯。
- 已修正
online/offline
事件向後的文件。
org.apache.cordova.splashscreen@0.3.2
org.apache.cordova.statusbar@0.1.7
- 新增
LICENSE
和NOTICE
。 - 更新
statusbar.js
。 - 更新
backgroundColorByHexString
函式。 - iOS:使用持續性
callbackId
而不是呼叫sendJs
。 - CB-6626 iOS:為點選
statusbar
新增 JS 事件。 - iOS:修正只有在狀態列未覆蓋網頁檢視時,隱藏才會調整網頁檢視的框架。
- CB-6127 已更新文件的翻譯。
- Android:修正
StatusBar.initialize()
未在 UI 執行緒上執行的問題。
org.apache.cordova.vibration@0.3.10
- Ubuntu:已實作
vibrateWithPattern/cancelVibration
。 - FirefoxOS 更新
VibrationProxy.js
- CB-6127 已更新文件的翻譯。