CB-6087: Android, iOS: Load file plugin on startup
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/bf9d20ab Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/bf9d20ab Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/bf9d20ab Branch: refs/heads/master Commit: bf9d20ab2031b181995849ddcbdbd86e6c8bc417 Parents: e634519 Author: Ian Clelland <[email protected]> Authored: Fri Feb 21 14:56:43 2014 -0500 Committer: Ian Clelland <[email protected]> Committed: Fri Feb 21 14:57:21 2014 -0500 ---------------------------------------------------------------------- plugin.xml | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/bf9d20ab/plugin.xml ---------------------------------------------------------------------- diff --git a/plugin.xml b/plugin.xml index 910c6f5..1c0bf3a 100644 --- a/plugin.xml +++ b/plugin.xml @@ -87,6 +87,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> @@ -156,6 +157,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" <config-file target="config.xml" parent="/*"> <feature name="File"> <param name="ios-package" value="CDVFile" /> + <param name="onload" value="true" /> </feature> </config-file> <header-file src="src/ios/CDVFile.h" />
