cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [07/13] cordova-plugin-media-capture git commit: CB-12519 Updated version and RELEASENOTES.md for release 1.4.2
Date Thu, 27 Apr 2017 20:03:20 GMT
CB-12519 Updated version and RELEASENOTES.md for release 1.4.2


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/4af2ea89
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/4af2ea89
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/4af2ea89

Branch: refs/heads/1.4.x
Commit: 4af2ea89ebf5498e6f4fde81941c15f430369b80
Parents: 5f271e6
Author: Steve Gill <stevengill97@gmail.com>
Authored: Tue Feb 28 17:41:27 2017 -0800
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Tue Feb 28 17:41:27 2017 -0800

----------------------------------------------------------------------
 RELEASENOTES.md  |  12 +-
 package.json     |   2 +-
 plugin.xml       | 443 +++++++++++++++++++++-----------------------------
 tests/plugin.xml |  38 +----
 4 files changed, 199 insertions(+), 296 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/4af2ea89/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index 23c3e46..a9efea8 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -20,6 +20,12 @@
 -->
 # Release Notes
 
+### 1.4.2 (Feb 28, 2017)
+* [CB-12353](https://issues.apache.org/jira/browse/CB-12353) Corrected merges usage in `plugin.xml`
+* [CB-12369](https://issues.apache.org/jira/browse/CB-12369) Add plugin typings from `DefinitelyTyped`

+* [CB-12363](https://issues.apache.org/jira/browse/CB-12363) Added build badges for **iOS
9.3** and **iOS 10.0** 
+* [CB-12230](https://issues.apache.org/jira/browse/CB-12230) Removed **Windows 8.1** build
badges
+
 ### 1.4.1 (Dec 07, 2016)
 * [CB-12224](https://issues.apache.org/jira/browse/CB-12224) Updated version and RELEASENOTES.md
for release 1.4.1
 * [CB-10701](https://issues.apache.org/jira/browse/CB-10701) [CB-7117](https://issues.apache.org/jira/browse/CB-7117)
android: Add manual test to check getting metadata
@@ -99,7 +105,7 @@
 * [CB-7429](https://issues.apache.org/jira/browse/CB-7429) Adds media capture support for
windows
 
 ### 0.3.3 (Sep 17, 2014)
-* Renamed test dir, added nested plugin.xml
+* Renamed test dir, added nested `plugin.xml`
 * added documentation for manual tests
 * [CB-6959](https://issues.apache.org/jira/browse/CB-6959) Added manual tests
 * [CB-6959](https://issues.apache.org/jira/browse/CB-6959) Port capture tests to plugin-test-framework
@@ -150,11 +156,11 @@
 
 ### 0.2.4 (Oct 28, 2013)
 * [CB-5199](https://issues.apache.org/jira/browse/CB-5199) - ios - Media Capture - UI issues
under iOS 7
-* [CB-5128](https://issues.apache.org/jira/browse/CB-5128): added repo + issue tag to plugin.xml
for media capture plugin
+* [CB-5128](https://issues.apache.org/jira/browse/CB-5128): added repo + issue tag to `plugin.xml`
for media capture plugin
 * [CB-5010](https://issues.apache.org/jira/browse/CB-5010) Incremented plugin version on
dev branch. 
 
 ### 0.2.3 (Oct 9, 2013)
-* [CB-4720](https://issues.apache.org/jira/browse/CB-4720): fixed incorrect feature tag in
plugin.xml for wp
+* [CB-4720](https://issues.apache.org/jira/browse/CB-4720): fixed incorrect feature tag in
`plugin.xml` for wp
 * [CB-4915](https://issues.apache.org/jira/browse/CB-4915) Incremented plugin version on
dev branch.
 
 ### 0.2.2 (Sept 25, 2013)

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/4af2ea89/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 4f00e09..b0f131c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cordova-plugin-media-capture",
-  "version": "1.4.2-dev",
+  "version": "1.4.2",
   "description": "Cordova Media Capture Plugin",
   "types": "./types/index.d.ts",
   "cordova": {

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/4af2ea89/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index ceba4b1..d2d22a8 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -1,267 +1,190 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-xmlns:android="http://schemas.android.com/apk/res/android"
-xmlns:rim="http://www.blackberry.com/ns/widgets"
-           id="cordova-plugin-media-capture"
-      version="1.4.2-dev">
-    <name>Capture</name>
-
-    <description>Cordova Media Capture Plugin</description>
-    <license>Apache 2.0</license>
-    <keywords>cordova,media,capture</keywords>
-    <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git</repo>
-    <issue>https://issues.apache.org/jira/browse/CB/component/12320646</issue>
-
-    <dependency id="cordova-plugin-file" version="^4.0.0" />
-    <dependency id="cordova-plugin-compat" version="^1.0.0" />
-
-    <js-module src="www/CaptureAudioOptions.js" name="CaptureAudioOptions">
-        <clobbers target="CaptureAudioOptions" />
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:rim="http://www.blackberry.com/ns/widgets" id="cordova-plugin-media-capture" version="1.4.2">
+  <name>Capture</name>
+  <description>Cordova Media Capture Plugin</description>
+  <license>Apache 2.0</license>
+  <keywords>cordova,media,capture</keywords>
+  <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git</repo>
+  <issue>https://issues.apache.org/jira/browse/CB/component/12320646</issue>
+  <dependency id="cordova-plugin-file" version="^4.0.0"/>
+  <dependency id="cordova-plugin-compat" version="^1.0.0"/>
+  <js-module src="www/CaptureAudioOptions.js" name="CaptureAudioOptions">
+    <clobbers target="CaptureAudioOptions"/>
+  </js-module>
+  <js-module src="www/CaptureImageOptions.js" name="CaptureImageOptions">
+    <clobbers target="CaptureImageOptions"/>
+  </js-module>
+  <js-module src="www/CaptureVideoOptions.js" name="CaptureVideoOptions">
+    <clobbers target="CaptureVideoOptions"/>
+  </js-module>
+  <js-module src="www/CaptureError.js" name="CaptureError">
+    <clobbers target="CaptureError"/>
+  </js-module>
+  <js-module src="www/MediaFileData.js" name="MediaFileData">
+    <clobbers target="MediaFileData"/>
+  </js-module>
+  <js-module src="www/MediaFile.js" name="MediaFile">
+    <clobbers target="MediaFile"/>
+  </js-module>
+  <js-module src="www/helpers.js" name="helpers">
+    <runs/>
+  </js-module>
+  <js-module src="www/capture.js" name="capture">
+    <clobbers target="navigator.device.capture"/>
+  </js-module>
+  <platform name="android">
+    <config-file target="res/xml/config.xml" parent="/*">
+      <feature name="Capture">
+        <param name="android-package" value="org.apache.cordova.mediacapture.Capture"/>
+      </feature>
+    </config-file>
+    <config-file target="AndroidManifest.xml" parent="/*">
+      <uses-permission android:name="android.permission.RECORD_AUDIO"/>
+      <uses-permission android:name="android.permission.RECORD_VIDEO"/>
+      <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
+      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+    </config-file>
+    <source-file src="src/android/Capture.java" target-dir="src/org/apache/cordova/mediacapture"/>
+    <source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/mediacapture"/>
+    <source-file src="src/android/PendingRequests.java" target-dir="src/org/apache/cordova/mediacapture"/>
+    <js-module src="www/android/init.js" name="init">
+      <runs/>
     </js-module>
-
-    <js-module src="www/CaptureImageOptions.js" name="CaptureImageOptions">
-        <clobbers target="CaptureImageOptions" />
+  </platform>
+  <platform name="amazon-fireos">
+    <config-file target="res/xml/config.xml" parent="/*">
+      <feature name="Capture">
+        <param name="android-package" value="org.apache.cordova.mediacapture.Capture"/>
+      </feature>
+    </config-file>
+    <config-file target="AndroidManifest.xml" parent="/*">
+      <uses-permission android:name="android.permission.RECORD_AUDIO"/>
+      <uses-permission android:name="android.permission.RECORD_VIDEO"/>
+      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+    </config-file>
+    <source-file src="src/android/Capture.java" target-dir="src/org/apache/cordova/mediacapture"/>
+    <source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/mediacapture"/>
+  </platform>
+  <platform name="ubuntu">
+    <header-file src="src/ubuntu/capture.h"/>
+    <source-file src="src/ubuntu/capture.cpp"/>
+    <resource-file src="src/ubuntu/back.png"/>
+    <resource-file src="src/ubuntu/MediaCaptureWidget.qml"/>
+    <resource-file src="src/ubuntu/shoot.png"/>
+    <resource-file src="src/ubuntu/microphone.png"/>
+    <resource-file src="src/ubuntu/record_on.png"/>
+    <resource-file src="src/ubuntu/record_off.png"/>
+    <resource-file src="src/ubuntu/toolbar-left.png"/>
+    <resource-file src="src/ubuntu/toolbar-middle.png"/>
+    <resource-file src="src/ubuntu/toolbar-right.png"/>
+    <config-file target="config.xml" parent="/*">
+      <feature name="Capture">
+        <param policy_group="audio" policy_version="1"/>
+        <param policy_group="camera" policy_version="1"/>
+        <param policy_group="microphone" policy_version="1"/>
+      </feature>
+    </config-file>
+  </platform>
+  <platform name="ios">
+    <config-file target="config.xml" parent="/*">
+      <feature name="Capture">
+        <param name="ios-package" value="CDVCapture"/>
+      </feature>
+    </config-file>
+    <config-file target="*-Info.plist" parent="NSCameraUsageDescription">
+      <string>$CAMERA_USAGE_DESCRIPTION</string>
+    </config-file>
+    <config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
+      <string>$MICROPHONE_USAGE_DESCRIPTION</string>
+    </config-file>
+    <config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
+      <string>$PHOTOLIBRARY_USAGE_DESCRIPTION</string>
+    </config-file>
+    <header-file src="src/ios/CDVCapture.h"/>
+    <source-file src="src/ios/CDVCapture.m"/>
+    <resource-file src="src/ios/CDVCapture.bundle"/>
+    <framework src="CoreGraphics.framework"/>
+    <framework src="MobileCoreServices.framework"/>
+    <preference name="CAMERA_USAGE_DESCRIPTION" default=" "/>
+    <preference name="MICROPHONE_USAGE_DESCRIPTION" default=" "/>
+    <preference name="PHOTOLIBRARY_USAGE_DESCRIPTION" default=" "/>
+  </platform>
+  <platform name="blackberry10">
+    <source-file src="src/blackberry10/index.js" target-dir="Capture"/>
+    <config-file target="www/config.xml" parent="/widget">
+      <feature name="media-capture" value="Capture"/>
+    </config-file>
+    <config-file target="www/config.xml" parent="/widget/rim:permissions">
+      <rim:permit>access_shared</rim:permit>
+    </config-file>
+  </platform>
+  <platform name="wp7">
+    <config-file target="config.xml" parent="/*">
+      <feature name="Capture">
+        <param name="wp-package" value="Capture"/>
+      </feature>
+    </config-file>
+    <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
+      <Capability Name="ID_CAP_MEDIALIB"/>
+      <Capability Name="ID_CAP_MICROPHONE"/>
+      <Capability Name="ID_CAP_ISV_CAMERA"/>
+    </config-file>
+    <source-file src="src/wp/Capture.cs"/>
+    <source-file src="src/wp/UI/AudioCaptureTask.cs"/>
+    <source-file src="src/wp/UI/AudioRecorder.xaml"/>
+    <source-file src="src/wp/UI/AudioRecorder.xaml.cs"/>
+    <source-file src="src/wp/UI/VideoCaptureTask.cs"/>
+    <source-file src="src/wp/UI/VideoRecorder.xaml"/>
+    <source-file src="src/wp/UI/VideoRecorder.xaml.cs"/>
+  </platform>
+  <platform name="wp8">
+    <config-file target="config.xml" parent="/*">
+      <feature name="Capture">
+        <param name="wp-package" value="Capture"/>
+      </feature>
+    </config-file>
+    <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
+      <Capability Name="ID_CAP_MEDIALIB_AUDIO"/>
+      <Capability Name="ID_CAP_MEDIALIB_PHOTO"/>
+      <Capability Name="ID_CAP_MEDIALIB_PLAYBACK"/>
+      <Capability Name="ID_CAP_MICROPHONE"/>
+      <Capability Name="ID_CAP_ISV_CAMERA"/>
+    </config-file>
+    <source-file src="src/wp/Capture.cs"/>
+    <source-file src="src/wp/UI/AudioCaptureTask.cs"/>
+    <source-file src="src/wp/UI/AudioRecorder.xaml"/>
+    <source-file src="src/wp/UI/AudioRecorder.xaml.cs"/>
+    <source-file src="src/wp/UI/VideoCaptureTask.cs"/>
+    <source-file src="src/wp/UI/VideoRecorder.xaml"/>
+    <source-file src="src/wp/UI/VideoRecorder.xaml.cs"/>
+  </platform>
+  <platform name="windows8">
+    <config-file target="package.appxmanifest" parent="/Package/Capabilities">
+      <DeviceCapability Name="microphone"/>
+      <DeviceCapability Name="webcam"/>
+    </config-file>
+    <js-module src="src/windows/MediaFile.js" name="MediaFile2">
+      <merges target="MediaFile"/>
     </js-module>
-
-    <js-module src="www/CaptureVideoOptions.js" name="CaptureVideoOptions">
-        <clobbers target="CaptureVideoOptions" />
+    <js-module src="src/windows/CaptureProxy.js" name="CaptureProxy">
+      <runs/>
     </js-module>
-
-    <js-module src="www/CaptureError.js" name="CaptureError">
-        <clobbers target="CaptureError" />
+  </platform>
+  <platform name="windows">
+    <config-file target="package.appxmanifest" parent="/Package/Capabilities">
+      <DeviceCapability Name="microphone"/>
+      <DeviceCapability Name="webcam"/>
+    </config-file>
+    <js-module src="src/windows/MediaFile.js" name="MediaFile2">
+      <merges target="MediaFile"/>
     </js-module>
-
-    <js-module src="www/MediaFileData.js" name="MediaFileData">
-        <clobbers target="MediaFileData" />
+    <js-module src="src/windows/CaptureProxy.js" name="CaptureProxy">
+      <runs/>
     </js-module>
-
-    <js-module src="www/MediaFile.js" name="MediaFile">
-        <clobbers target="MediaFile" />
+  </platform>
+  <platform name="browser">
+    <js-module src="src/browser/CaptureProxy.js" name="CaptureProxy">
+      <runs/>
     </js-module>
-
-    <js-module src="www/helpers.js" name="helpers">
-        <runs />
-    </js-module>
-
-    <js-module src="www/capture.js" name="capture">
-        <clobbers target="navigator.device.capture" />
-    </js-module>
-
-    <!-- android -->
-    <platform name="android">
-        <config-file target="res/xml/config.xml" parent="/*">
-            <feature name="Capture" >
-                <param name="android-package" value="org.apache.cordova.mediacapture.Capture"/>
-            </feature>
-        </config-file>
-
-        <config-file target="AndroidManifest.xml" parent="/*">
-            <uses-permission android:name="android.permission.RECORD_AUDIO" />
-            <uses-permission android:name="android.permission.RECORD_VIDEO"/>
-            <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
-            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
-        </config-file>
-
-        <source-file src="src/android/Capture.java" target-dir="src/org/apache/cordova/mediacapture"
/>
-        <source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/mediacapture"
/>
-        <source-file src="src/android/PendingRequests.java" target-dir="src/org/apache/cordova/mediacapture"
/>
-
-        <js-module src="www/android/init.js" name="init">
-            <runs />
-        </js-module>
-    </platform>
-
-    <!-- amazon-fireos -->
-    <platform name="amazon-fireos">
-        <config-file target="res/xml/config.xml" parent="/*">
-            <feature name="Capture" >
-                <param name="android-package" value="org.apache.cordova.mediacapture.Capture"/>
-            </feature>
-        </config-file>
-
-        <config-file target="AndroidManifest.xml" parent="/*">
-            <uses-permission android:name="android.permission.RECORD_AUDIO" />
-            <uses-permission android:name="android.permission.RECORD_VIDEO"/>
-            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
-        </config-file>
-
-        <source-file src="src/android/Capture.java" target-dir="src/org/apache/cordova/mediacapture"
/>
-        <source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/mediacapture"
/>
-    </platform>
-
-
-    <!-- ubuntu -->
-    <platform name="ubuntu">
-        <header-file src="src/ubuntu/capture.h" />
-        <source-file src="src/ubuntu/capture.cpp" />
-
-        <resource-file src="src/ubuntu/back.png" />
-        <resource-file src="src/ubuntu/MediaCaptureWidget.qml" />
-        <resource-file src="src/ubuntu/shoot.png" />
-        <resource-file src="src/ubuntu/microphone.png" />
-        <resource-file src="src/ubuntu/record_on.png" />
-        <resource-file src="src/ubuntu/record_off.png" />
-        <resource-file src="src/ubuntu/toolbar-left.png" />
-        <resource-file src="src/ubuntu/toolbar-middle.png" />
-        <resource-file src="src/ubuntu/toolbar-right.png" />
-        <config-file target="config.xml" parent="/*">
-            <feature name="Capture">
-                <param policy_group="audio" policy_version="1" />
-                <param policy_group="camera" policy_version="1" />
-                <param policy_group="microphone" policy_version="1" />
-            </feature>
-        </config-file>
-    </platform>
-
-    <!-- ios -->
-    <platform name="ios">
-        <config-file target="config.xml" parent="/*">
-            <feature name="Capture">
-                <param name="ios-package" value="CDVCapture" />
-            </feature>
-        </config-file>
-        <header-file src="src/ios/CDVCapture.h" />
-        <source-file src="src/ios/CDVCapture.m" />
-        <resource-file src="src/ios/CDVCapture.bundle" />
-
-        <framework src="CoreGraphics.framework" />
-        <framework src="MobileCoreServices.framework" />
-
-        <preference name="CAMERA_USAGE_DESCRIPTION" default=" " />
-        <config-file target="*-Info.plist" parent="NSCameraUsageDescription">
-            <string>$CAMERA_USAGE_DESCRIPTION</string>
-        </config-file>
-
-        <preference name="MICROPHONE_USAGE_DESCRIPTION" default=" " />
-        <config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
-            <string>$MICROPHONE_USAGE_DESCRIPTION</string>
-        </config-file>
-
-        <preference name="PHOTOLIBRARY_USAGE_DESCRIPTION" default=" " />
-        <config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
-            <string>$PHOTOLIBRARY_USAGE_DESCRIPTION</string>
-        </config-file>
-
-    </platform>
-
-    <!-- blackberry10 -->
-    <platform name="blackberry10">
-        <source-file src="src/blackberry10/index.js" target-dir="Capture" />
-        <config-file target="www/config.xml" parent="/widget">
-            <feature name="media-capture" value="Capture"/>
-        </config-file>
-        <config-file target="www/config.xml" parent="/widget/rim:permissions">
-          <rim:permit>access_shared</rim:permit>
-        </config-file>
-      </platform>
-
-    <!-- wp7 -->
-    <platform name="wp7">
-        <config-file target="config.xml" parent="/*">
-            <feature name="Capture">
-                <param name="wp-package" value="Capture"/>
-            </feature>
-        </config-file>
-
-        <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
-            <Capability Name="ID_CAP_MEDIALIB"/>
-            <Capability Name="ID_CAP_MICROPHONE"/>
-            <Capability Name="ID_CAP_ISV_CAMERA" />
-        </config-file>
-
-        <source-file src="src/wp/Capture.cs" />
-        <source-file src="src/wp/UI/AudioCaptureTask.cs" />
-        <source-file src="src/wp/UI/AudioRecorder.xaml" />
-        <source-file src="src/wp/UI/AudioRecorder.xaml.cs" />
-        <source-file src="src/wp/UI/VideoCaptureTask.cs" />
-        <source-file src="src/wp/UI/VideoRecorder.xaml" />
-        <source-file src="src/wp/UI/VideoRecorder.xaml.cs" />
-    </platform>
-
-    <!-- wp8 -->
-    <platform name="wp8">
-        <config-file target="config.xml" parent="/*">
-            <feature name="Capture">
-                <param name="wp-package" value="Capture"/>
-            </feature>
-        </config-file>
-
-        <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
-            <Capability Name="ID_CAP_MEDIALIB_AUDIO"/>
-            <Capability Name="ID_CAP_MEDIALIB_PHOTO"/>
-            <Capability Name="ID_CAP_MEDIALIB_PLAYBACK"/>
-            <Capability Name="ID_CAP_MICROPHONE"/>
-            <Capability Name="ID_CAP_ISV_CAMERA" />
-        </config-file>
-
-        <source-file src="src/wp/Capture.cs" />
-        <source-file src="src/wp/UI/AudioCaptureTask.cs" />
-        <source-file src="src/wp/UI/AudioRecorder.xaml" />
-        <source-file src="src/wp/UI/AudioRecorder.xaml.cs" />
-        <source-file src="src/wp/UI/VideoCaptureTask.cs" />
-        <source-file src="src/wp/UI/VideoRecorder.xaml" />
-        <source-file src="src/wp/UI/VideoRecorder.xaml.cs" />
-    </platform>
-
-    <!-- windows8 -->
-    <platform name="windows8">
-
-        <config-file target="package.appxmanifest" parent="/Package/Capabilities">
-            <DeviceCapability Name="microphone" />
-            <DeviceCapability Name="webcam" />
-        </config-file>
-
-        <js-module src="src/windows/MediaFile.js" name="MediaFile2">
-            <merges target="MediaFile" />
-        </js-module>
-
-        <js-module src="src/windows/CaptureProxy.js" name="CaptureProxy">
-            <runs />
-        </js-module>
-    </platform>
-
-    <!-- windows -->
-    <platform name="windows">
-
-        <config-file target="package.appxmanifest" parent="/Package/Capabilities">
-            <DeviceCapability Name="microphone" />
-            <DeviceCapability Name="webcam" />
-        </config-file>
-
-        <js-module src="src/windows/MediaFile.js" name="MediaFile2">
-            <merges target="MediaFile" />
-        </js-module>
-
-        <js-module src="src/windows/CaptureProxy.js" name="CaptureProxy">
-            <runs />
-        </js-module>
-    </platform>
-
-    <!-- browser -->
-    <platform name="browser">
-        <!-- this overrides navigator.device.capture namespace with browser-specific implementation
-->
-        <js-module src="src/browser/CaptureProxy.js" name="CaptureProxy">
-            <runs />
-        </js-module>
-    </platform>
-
+  </platform>
 </plugin>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/4af2ea89/tests/plugin.xml
----------------------------------------------------------------------
diff --git a/tests/plugin.xml b/tests/plugin.xml
index c2fb394..0837e15 100644
--- a/tests/plugin.xml
+++ b/tests/plugin.xml
@@ -1,33 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-    xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:rim="http://www.blackberry.com/ns/widgets"
-    id="cordova-plugin-media-capture-tests"
-    version="1.4.2-dev">
-    <name>Cordova Media Capture Plugin Tests</name>
-    <license>Apache 2.0</license>
-
-    <dependency id="cordova-plugin-media" />
-
-    <js-module src="tests.js" name="tests">
-    </js-module>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:rim="http://www.blackberry.com/ns/widgets" id="cordova-plugin-media-capture-tests" version="1.4.2">
+  <name>Cordova Media Capture Plugin Tests</name>
+  <license>Apache 2.0</license>
+  <dependency id="cordova-plugin-media"/>
+  <js-module src="tests.js" name="tests"/>
 </plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message