| <?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://cordova.apache.org/ns/plugins/1.0" |
| id="org.apache.cordova.file-system-roots" |
| version="0.1.0"> |
| <engines> |
| <engine name="cordova" version=">=3.0.0" /> |
| </engines> |
| |
| <name>File Extras</name> |
| <dependency id="org.apache.cordova.file" version=">=1.0.0" /> |
| |
| <js-module src="FileSystemRoots.js" name="FileSystemRoots"> |
| <clobbers target="cordova.filesystem" /> |
| </js-module> |
| |
| <platform name="android"> |
| <source-file src="android/FileSystemRoots.java" target-dir="src/org/apache/cordova/filesystemroots" /> |
| |
| <config-file target="res/xml/config.xml" parent="/*"> |
| <feature name="FileSystemRoots"> |
| <param name="android-package" value="org.apache.cordova.filesystemroots.FileSystemRoots"/> |
| <param name="onload" value="true"/> |
| </feature> |
| </config-file> |
| </platform> |
| |
| <platform name="ios"> |
| <source-file src="ios/FileSystemRoots.m" /> |
| |
| <config-file target="config.xml" parent="/*"> |
| <feature name="FileSystemRoots"> |
| <param name="ios-package" value="FileSystemRoots"/> |
| <param name="onload" value="true"/> |
| </feature> |
| </config-file> |
| </platform> |
| </plugin> |