CB-6097-Added missing files for amazon-fireos platform.
Added onLoad flag to true.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/af91d446
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/af91d446
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/af91d446

Branch: refs/heads/master
Commit: af91d446bcec62c55e7b2d29b24bdc7edb565865
Parents: bf9d20a
Author: Archana Naik <[email protected]>
Authored: Mon Feb 24 11:47:53 2014 -0800
Committer: Archana Naik <[email protected]>
Committed: Mon Feb 24 11:58:27 2014 -0800

----------------------------------------------------------------------
 plugin.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/af91d446/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 1c0bf3a..92da2ce 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -119,6 +119,7 @@ xmlns:android="http://schemas.android.com/apk/res/android";
         <config-file target="res/xml/config.xml" parent="/*">
             <feature name="File" >
                 <param name="android-package" 
value="org.apache.cordova.file.FileUtils"/>
+                <param name="onload" value="true" />
             </feature>
         </config-file>
 
@@ -134,7 +135,15 @@ xmlns:android="http://schemas.android.com/apk/res/android";
         <source-file src="src/android/FileUtils.java" 
target-dir="src/org/apache/cordova/file" />
         <source-file src="src/android/FileHelper.java" 
target-dir="src/org/apache/cordova/file" />
         <source-file src="src/android/DirectoryManager.java" 
target-dir="src/org/apache/cordova/file" />
-
+        <source-file src="src/android/LocalFilesystemURL.java" 
target-dir="src/org/apache/cordova/file" />
+        <source-file src="src/android/Filesystem.java" 
target-dir="src/org/apache/cordova/file" />
+        <source-file src="src/android/LocalFilesystem.java" 
target-dir="src/org/apache/cordova/file" />
+        <source-file src="src/android/ContentFilesystem.java" 
target-dir="src/org/apache/cordova/file" />
+        
+        <!-- android specific file apis -->
+        <js-module src="www/android/FileSystem.js" name="androidFileSystem">
+            <merges target="window.FileSystem" />
+        </js-module>
     </platform>
 
     <!-- ubuntu -->

Reply via email to