mirror of
https://gitee.com/shuto-github/phonegap-mobile-accessibility.git
synced 2024-10-06 03:12:07 +08:00
Issue 22: Please add package.json
Add package.json file and rename package id to follow npm convention.
This commit is contained in:
parent
3efce21dfd
commit
e9af64bc44
@ -17,7 +17,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
# com.phonegap.plugin.mobile-accessibility
|
||||
# phonegap-plugin-mobile-accessibility
|
||||
==========================================
|
||||
|
||||
This plugin exposes information on the status of various accessibility features of mobile operating systems, including, for example, whether a screen reader is running, invert colors is enabled, and the preferred scaling for text. It also allows an application to send a string to be spoken by the screen reader, or a command to stop the screen reader from speaking.
|
||||
|
37
package.json
Normal file
37
package.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "phonegap-plugin-mobile-accessibility",
|
||||
"version": "0.1.4-dev",
|
||||
"description": "PhoneGap Mobile Accessibility Plugin",
|
||||
"cordova": {
|
||||
"id": "phonegap-plugin-mobile-accessibility",
|
||||
"platforms": [
|
||||
"ios",
|
||||
"android",
|
||||
"windows"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/phonegap/phonegap-mobile-accessibility.git"
|
||||
},
|
||||
"keywords": [
|
||||
"phonegap",
|
||||
"mobile accessibility",
|
||||
"ecosystem:cordova",
|
||||
"cordova-ios",
|
||||
"cordova-android",
|
||||
"cordova-windows"
|
||||
],
|
||||
"engines": [
|
||||
{
|
||||
"name": "cordova",
|
||||
"version": ">=3.0.0"
|
||||
}
|
||||
],
|
||||
"author": "Adobe PhoneGap Team",
|
||||
"license": "Apache 2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/phonegap/phonegap-mobile-accessibility/issues"
|
||||
},
|
||||
"homepage": "https://github.com/phonegap/phonegap-mobile-accessibility#readme"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
id="com.phonegap.plugin.mobile-accessibility"
|
||||
version="0.1.3">
|
||||
id="phonegap-plugin-mobile-accessibility"
|
||||
version="0.1.4-dev">
|
||||
<name>Mobile Accessibility</name>
|
||||
<description>PhoneGap Mobile Accessibility Plugin</description>
|
||||
<license>Apache 2.0</license>
|
||||
@ -20,7 +20,7 @@
|
||||
<clobbers target="MobileAccessibilityNotifications" />
|
||||
</js-module>
|
||||
|
||||
<dependency id="cordova-plugin-device" url="https://github.com/apache/cordova-plugin-device.git" />
|
||||
<dependency id="cordova-plugin-device" url="https://github.com/apache/cordova-plugin-device.git" />
|
||||
<dependency id="cordova-plugin-network-information" url="https://github.com/apache/cordova-plugin-network-information.git" />
|
||||
|
||||
<!-- ios -->
|
||||
|
@ -25,7 +25,7 @@ var argscheck = require('cordova/argscheck'),
|
||||
device = require('cordova-plugin-device.device'),
|
||||
network = require('cordova-plugin-network-information.network'),
|
||||
connection = require('cordova-plugin-network-information.Connection'),
|
||||
MobileAccessibilityNotifications = require('com.phonegap.plugin.mobile-accessibility.MobileAccessibilityNotifications');
|
||||
MobileAccessibilityNotifications = require('phonegap-plugin-mobile-accessibility.MobileAccessibilityNotifications');
|
||||
|
||||
var MobileAccessibility = function() {
|
||||
this._isScreenReaderRunning = false;
|
||||
|
Loading…
Reference in New Issue
Block a user