You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by na...@apache.org on 2014/09/11 23:19:41 UTC

spec commit: Added amazon-fireos platform to echo and whitelist plugins.

Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master f2a8088cf -> 5aa443482


Added amazon-fireos platform to echo and whitelist plugins.


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/5aa44348
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/5aa44348
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/5aa44348

Branch: refs/heads/master
Commit: 5aa44348268c01433bde11e7ed7f9f0b181256d1
Parents: f2a8088
Author: Archana Naik <na...@lab126.com>
Authored: Thu Sep 11 14:19:16 2014 -0700
Committer: Archana Naik <na...@lab126.com>
Committed: Thu Sep 11 14:19:16 2014 -0700

----------------------------------------------------------------------
 cordova-plugin-echo/plugin.xml      | 10 ++++++++++
 cordova-plugin-whitelist/plugin.xml | 11 +++++++++++
 2 files changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/5aa44348/cordova-plugin-echo/plugin.xml
----------------------------------------------------------------------
diff --git a/cordova-plugin-echo/plugin.xml b/cordova-plugin-echo/plugin.xml
index 7766eae..5095307 100644
--- a/cordova-plugin-echo/plugin.xml
+++ b/cordova-plugin-echo/plugin.xml
@@ -41,6 +41,16 @@
         <source-file src="src/android/Echo.java" target-dir="src/org/apache/cordova/test" />
     </platform>
 
+    <!-- amazon-fireos -->
+    <platform name="amazon-fireos">
+        <config-file target="res/xml/config.xml" parent="/*">
+            <feature name="Echo" >
+                <param name="android-package" value="org.apache.cordova.test.Echo"/>
+            </feature>
+        </config-file>
+    
+        <source-file src="src/android/Echo.java" target-dir="src/org/apache/cordova/test" />
+    </platform>
     <!-- ios -->
     <platform name="ios">
         <config-file target="config.xml" parent="/*">

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/5aa44348/cordova-plugin-whitelist/plugin.xml
----------------------------------------------------------------------
diff --git a/cordova-plugin-whitelist/plugin.xml b/cordova-plugin-whitelist/plugin.xml
index c66cadb..71f49ae 100644
--- a/cordova-plugin-whitelist/plugin.xml
+++ b/cordova-plugin-whitelist/plugin.xml
@@ -38,6 +38,17 @@
 
         <source-file src="src/android/WhitelistAPI.java" target-dir="src/org/apache/cordova/test" />
     </platform>
+    
+    <!-- amazon-fireos -->
+    <platform name="amazon-fireos">
+        <config-file target="res/xml/config.xml" parent="/*">
+            <feature name="WhitelistAPI" >
+                <param name="android-package" value="org.apache.cordova.test.WhitelistAPI"/>
+            </feature>
+        </config-file>
+        
+        <source-file src="src/android/WhitelistAPI.java" target-dir="src/org/apache/cordova/test" />
+    </platform>
 
     <!-- ios -->
     <platform name="ios">