ionic-plugin-keyboard
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "ionic-plugin-keyboard", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"cordova": { | ||
@@ -5,0 +5,0 @@ "id": "ionic-plugin-keyboard", |
@@ -11,3 +11,3 @@ Keyboard | ||
- cordova.plugins.Keyboard.hideKeyboardAccessoryBar | ||
- ~~cordova.plugins.Keyboard.hideKeyboardAccessoryBar~~ (**removed in 2.0, see below**) | ||
- cordova.plugins.Keyboard.close | ||
@@ -31,5 +31,10 @@ - cordova.plugins.Keyboard.disableScroll | ||
Keyboard.hideKeyboardAccessoryBar | ||
# API reference | ||
~~Keyboard.hideKeyboardAccessoryBar~~ | ||
================= | ||
**NOTE: This method started causing apps to be rejected from the App Store, so has been removed until a workaround is found.** | ||
Hide the keyboard accessory bar with the next, previous and done buttons. | ||
@@ -56,3 +61,3 @@ | ||
- iOS, Android, Blackberry 10, Windows | ||
- iOS, Android, Blackberry 10, Windows | ||
@@ -82,3 +87,3 @@ | ||
- Android, Blackberry 10, Windows | ||
- Android, Blackberry 10, Windows | ||
@@ -85,0 +90,0 @@ native.keyboardshow |
@@ -11,6 +11,7 @@ | ||
Keyboard.hideKeyboardAccessoryBar = function(hide) { | ||
exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); | ||
// exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); | ||
console.warn('hideKeyboardAccessoryBar has been removed until a method is found that doesn\'t get rejected from the App Store.') | ||
}; | ||
Keyboard.close = function() { | ||
Keyboard.close = function() { | ||
exec(null, null, "Keyboard", "close", []); | ||
@@ -20,3 +21,6 @@ }; | ||
Keyboard.show = function() { | ||
exec(null, null, "Keyboard", "show", []); | ||
console.warn('Showing keyboard not supported in iOS due to platform limitations.') | ||
console.warn('Instead, use input.focus(), and ensure that you have the following setting in your config.xml: \n'); | ||
console.warn(' <preference name="KeyboardDisplayRequiresUserAction" value="false"/>\n'); | ||
// exec(null, null, "Keyboard", "show", []); | ||
}; | ||
@@ -23,0 +27,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5047944
201
129
20