Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

ionic-plugin-keyboard TypeError undefined is not an object (evaluating 'cordova.plugins.Keyboard') #310

Open
stripathix opened this issue Feb 12, 2018 · 0 comments

Comments

@stripathix
Copy link

This happened while the app was loading.

Already have a check to use cordova.plugins.Keyboard only if the object is available. Looks like the error is occurring inside plugin itself.

if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
$cordovaKeyboard.disableScroll(true);
$cordovaKeyboard.hideKeyboardAccessoryBar(false);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant