Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
fix: version not in sync in package.json & plugin.xml (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
libinvarghese authored and ChrizC committed Jul 24, 2018
1 parent 840eaf8 commit 760a09a
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 18 deletions.
53 changes: 53 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"android"
]
},
"scripts": {
"version": "sync-cordova-xml package.json plugin.xml --output plugin.xml && git add plugin.xml"
},
"repository": {
"type": "git",
"url": "https://github.com/hiddentao/cordova-plugin-filepath.git"
Expand All @@ -19,5 +22,8 @@
"cordova-android"
],
"author": "Ramesh Nair <ram@hiddentao.com>",
"license": "Apache 2.0"
"license": "Apache 2.0",
"devDependencies": {
"sync-cordova-xml": "^0.4.0"
}
}
31 changes: 14 additions & 17 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,40 @@
under the License.
-->

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-filepath"
version="1.0.2">
<name>FilePath</name>
<description>Cordova filepath plugin</description>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-filepath" version="1.3.0">
<name>cordova-plugin-filepath</name>
<description>Resolve native file paths from content URLs for Cordova platforms</description>
<license>Apache 2.0</license>
<keywords>cordova,file</keywords>
<keywords>cordova,file,ecosystem:cordova,cordova-android</keywords>
<repo>https://github.com/hiddentao/cordova-plugin-filepath.git</repo>
<issue>https://github.com/hiddentao/cordova-plugin-filepath/issues</issue>

<engines>
<engine name="cordova-android" version=">=3.1.0" /><!-- Uses CordovaResourceApi -->
<engine name="cordova-android" version=">=3.1.0"/><!-- Uses CordovaResourceApi -->
</engines>

<!-- android -->
<platform name="android">
<js-module src="www/FilePath.js" name="FilePath">
<clobbers target="window.FilePath" />
<clobbers target="window.FilePath"/>
</js-module>

<config-file target="res/xml/config.xml" parent="/*">
<feature name="FilePath" >
<feature name="FilePath">
<param name="android-package" value="com.hiddentao.cordova.filepath.FilePath"/>
<param name="onload" value="true" />
<param name="onload" value="true"/>
</feature>
</config-file>

<framework src="com.android.support:support-v4:25.+" />
<framework src="com.android.support:appcompat-v7:25.+" />
<framework src="com.android.support:support-v4:25.+"/>
<framework src="com.android.support:appcompat-v7:25.+"/>

<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<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/FilePath.java" target-dir="src/com/hiddentao/cordova/filepath" />
<source-file src="src/android/FilePath.java" target-dir="src/com/hiddentao/cordova/filepath"/>
</platform>

<author email="ram@hiddentao.com">Ramesh Nair</author>
</plugin>

0 comments on commit 760a09a

Please sign in to comment.