diff --git a/README.md b/README.md index 48b4103..a641eb8 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json new file mode 100644 index 0000000..e1c10a2 --- /dev/null +++ b/package.json @@ -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" +} diff --git a/plugin.xml b/plugin.xml index 9c26232..efe6adb 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,8 +1,8 @@ + id="phonegap-plugin-mobile-accessibility" + version="0.1.4-dev"> Mobile Accessibility PhoneGap Mobile Accessibility Plugin Apache 2.0 @@ -20,7 +20,7 @@ - + diff --git a/www/mobile-accessibility.js b/www/mobile-accessibility.js index 8b0038e..7af1314 100644 --- a/www/mobile-accessibility.js +++ b/www/mobile-accessibility.js @@ -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;