mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2025-05-04 09:02:57 +08:00
Initial npm plugin support
This commit is contained in:
parent
4c86a0d8c6
commit
503a380624
32
package.json
Normal file
32
package.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "cordova-plugin-screen-orientaion",
|
||||
"version": "1.3.5",
|
||||
"description": "Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS, WP8 and BB10.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/gbenvenuti/cordova-plugin-screen-orientation.git"
|
||||
},
|
||||
"cordova": {
|
||||
"id": "cordova-plugin-screen-orientaion",
|
||||
"platforms": [
|
||||
"android",
|
||||
"ios",
|
||||
"wp8"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
"cordova",
|
||||
"device",
|
||||
"ecosystem:cordova",
|
||||
"screen",
|
||||
"orientation",
|
||||
"portrait",
|
||||
"landscape"
|
||||
],
|
||||
"author": "gbenvenuti",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues"
|
||||
},
|
||||
"homepage": "https://github.com/gbenvenuti/cordova-plugin-screen-orientation#readme"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
id="net.yoik.cordova.plugins.screenorientation"
|
||||
version="1.3.4">
|
||||
id="cordova-plugin-screen-orientation"
|
||||
version="1.3.5">
|
||||
|
||||
<name>Screen Orientation</name>
|
||||
<description>Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS, WP8 and BB10.</description>
|
||||
@ -30,7 +30,7 @@
|
||||
</platform>
|
||||
|
||||
<platform name="android">
|
||||
<source-file src="src/android/net/yoik/cordova/plugins/screenorientation/YoikScreenOrientation.java" target-dir="src/net/yoik/cordova/plugins/screenorientation/" />
|
||||
<source-file src="src/android/YoikScreenOrientation.java" target-dir="src/net/yoik/cordova/plugins/screenorientation/" />
|
||||
|
||||
<config-file target="res/xml/config.xml" parent="/*">
|
||||
<feature name="YoikScreenOrientation">
|
||||
|
Loading…
x
Reference in New Issue
Block a user