部落格 RSS Feed

外掛程式發佈:2015 年 2 月 10 日
作者:Andrew Grieve
2015 年 2 月 10 日

下列外掛程式已於今日更新

  • cordova-plugin-battery-status@0.2.12
  • cordova-plugin-camera@0.3.5
  • cordova-plugin-console@0.2.13
  • cordova-plugin-contacts@0.2.16
  • cordova-plugin-device-motion@0.2.11
  • cordova-plugin-device-orientation@0.3.11
  • cordova-plugin-device@0.3.0
  • cordova-plugin-dialogs@0.3.0
  • cordova-plugin-file-transfer@0.5.0
  • cordova-plugin-file@1.3.3
  • cordova-plugin-geolocation@0.3.12
  • cordova-plugin-globalization@0.3.4
  • cordova-plugin-inappbrowser@0.6.0
  • cordova-plugin-media@0.2.16
  • cordova-plugin-media-capture@0.3.6
  • cordova-plugin-network-information@0.2.15
  • cordova-plugin-splashscreen@1.0.0
  • cordova-plugin-vibration@0.3.13
  • cordova-plugin-statusbar@0.1.10
  • cordova-plugins@file-system-roots-0.1.0
  • cordova-plugin-test-framework@0.0.1

這些外掛程式已在我們的註冊表中更新,網址為 plugins.cordova.io


您可以先移除外掛程式,然後再重新加入,即可更新任何外掛程式。

例如,要更新您的相機外掛程式

cordova plugin rm org.apache.cordova.camera
cordova plugin add org.apache.cordova.camera

變更包括

org.apache.cordova.camera@0.3.5

  • CB-8351 ios:停止使用現已棄用的 [NSData base65EncodedString]
  • CB-8351 ios:停止使用現已棄用的 integerValueForKey: 類別擴充功能
  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能
  • CB-8032 ios:為 CDVFileSystem->makeEntryForPath:isDirectory 新增 nativeURL 外部方法支援
  • CB-7938 ios:新增 XCTest 單元測試專案,包含存根(改編自 SplashScreen 單元測試設定)
  • CB-7937 ios:重構 iOS 相機外掛程式,使其可測試

org.apache.cordova.console@0.2.13

  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能

org.apache.cordova.contacts@0.2.16

  • CB-8351 ios:停止使用(新近)棄用的 CordovaLib 函式
  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能
  • android:更新 ContactName 支援
  • 更新了 ContactOrganization 建構函式的註解。

org.apache.cordova.device@0.3.0

  • 為 Android、iOS、Blackberry、WP8 新增 device.manufacturer 屬性
  • Windows Phone 8 的 ANID2 支援,ANID 僅支援到 Windows Phone 7.5
  • CB-8351 使用 uniqueAppInstanceIdentifier 的本機副本,而不是 CordovaLib 的版本
  • 瀏覽器:修正了如果無法辨識瀏覽器的使用者代理程式,則會導致「無法呼叫未定義的方法」錯誤的錯誤

org.apache.cordova.device-orientation@0.3.11

  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能

org.apache.cordova.dialogs@0.3.0

  • 在 config.xml 中指定 Windows 平台的正確方式
  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能
  • CB-7955 新增「瀏覽器」平台支援

org.apache.cordova.file@1.3.3

  • CB-7927 寫入檔案時,將資料編碼為位元組,而不是字元。
  • ios:修正關於隱含 int 轉換的編譯警告
  • CB-8351 ios:使用 base64EncodedStringWithOptions,而不是 CordovaLib 的類別擴充功能
  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能
  • CB-8351 ios:使用 valueForKeyIsNumber 的本機副本,而不是 CordovaLib 的版本
  • windows:處理透過根 FS 以磁碟機代號和冒號開頭(編碼為 %3A)包含絕對 Windows 路徑的 URL
  • windows:重新設計為使用一般 URL 格式
  • android:重構:讓 Filesystem 基底類別儲存其自己的名稱、rootUri 和 rootEntry
  • android:藉由讓 makeEntryForPath 不擲回 JSONException,稍微簡化程式碼
  • CB-6431 android:修正外掛程式中斷 content: URL 的問題
  • CB-7375 永不建立新的 FileSystem 執行個體(Windows 除外,因為它們未實作 requestAllFileSystems())

org.apache.cordova.file-transfer@0.5.0

  • CB-8407 windows:修正下載 ms-appdata:/// URI 的問題
  • CB-8095 windows:重寫上傳方法以正確支援進度事件
  • CB-5059 android:為可插拔網頁檢視新增 CookieManager 抽象化
  • ios:修正關於隱含 int 轉換的編譯警告
  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能
  • CB-8351 ios:使用 DLog 巨集的本機副本,而不是 CordovaLib 版本
  • CB-8296 ios:修正在上傳失敗且檔案尚未建立時當機的問題(關閉 #57)
  • 記錄 FileTransferError 上的「body」屬性
  • CB-7912 ios、android:更新以使用 Cordova 4.x 中的白名單外掛程式
  • 錯誤回呼應始終以 FileTransferError 物件呼叫,而不僅僅是程式碼
  • windows:將 appData 別名設定為 Windows.Storage.ApplicationData.current
  • CB-8093 修正下載失敗時傳回不正確的 FileTransferError

org.apache.cordova.geolocation@0.3.12

  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能

org.apache.cordova.globalization@0.3.4

  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能
  • CB-7972 為 Windows 平台新增 cordova-plugin-globalization 支援

org.apache.cordova.inappbrowser@0.6.0

  • CB-8270 ios:移除 [arr JSONString] 的用法,因為它已重新命名為 cdv_JSONString
  • ubuntu:實作 inject* 函式
  • ubuntu:移植到 oxide
  • CB-7897 ios、android:更新以使用 Cordova 4.x 中的白名單外掛程式

org.apache.cordova.media@0.2.16

  • CB-8351 ios:停止使用(新近)棄用的 CDVJSON.h
  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能
  • CB-8252 android:透過訊息通道從原生觸發音訊事件
  • CB-8152 ios:移除媒體外掛程式中已棄用的方法(自 2.5 版起棄用)

org.apache.cordova.media-capture@0.3.6

  • CB-8351 ios:使用已棄用的 CDV_IsIpad 和 CDV_IsIphone5 的內嵌副本
  • CB-8351 ios:停止使用(新近)棄用的 CDVJSON.h
  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能
  • CB-7977 在外掛程式文件中提及 deviceready

org.apache.cordova.network-information@0.2.15

  • CB-8384 Windows 上的網路狀態變更支援
  • CB-8384 修正我們在 Windows 上偵測線上狀態的方式
  • CB-8384 新增 Windows 平台怪癖
  • CB-8384 將 Windows 區段新增至網路資訊外掛程式

org.apache.cordova.splashscreen@1.0.0

  • CB-8351 ios:停止使用已棄用的 IsIpad 巨集
  • CB-3679 因為使用 preferences,因此為 Android >= 3.6.0 新增引擎標籤
  • CB-3679 讓 SplashScreen 外掛程式與 cordova-android@4.0.x 相容

org.apache.cordova.statusbar@0.1.10

  • CB-8351 ios:使用 argumentForIndex,而不是 NSArray 擴充功能

org.apache.cordova.test-framework@0.0.1

  • 初始版本

org.apache.cordova.vibration@0.3.13

  • CB-8243 cordova-plugin-vibration 文件翻譯:cordova-plugin-vibration