Error AndroidPermissions

vendor.js:1823 ERROR Error: Uncaught (in promise): TypeError: Object(...) is not a function
TypeError: Object(...) is not a function
    at AndroidPermissions.checkPermission (vendor.js:60951)
    at ValidaSenhaPage.webpackJsonp.171.ValidaSenhaPage.requestAllPermissions (main.js:489)
    at new ValidaSenhaPage (main.js:481)
    at createClass (vendor.js:12865)
    at createDirectiveInstance (vendor.js:12700)
    at createViewNodes (vendor.js:14158)
    at createRootView (vendor.js:14047)
    at callWithDebugContext (vendor.js:15472)
    at Object.debugCreateRootView [as createRootView] (vendor.js:14755)
    at ComponentFactory_.create (vendor.js:11652)
    at AndroidPermissions.checkPermission (vendor.js:60951)
    at ValidaSenhaPage.webpackJsonp.171.ValidaSenhaPage.requestAllPermissions (main.js:489)
    at new ValidaSenhaPage (main.js:481)
    at createClass (vendor.js:12865)
    at createDirectiveInstance (vendor.js:12700)
    at createViewNodes (vendor.js:14158)
    at createRootView (vendor.js:14047)
    at callWithDebugContext (vendor.js:15472)
    at Object.debugCreateRootView [as createRootView] (vendor.js:14755)
    at ComponentFactory_.create (vendor.js:11652)
    at c (polyfills.js:3)
    at Object.reject (polyfills.js:3)
    at OverlayPortal.NavControllerBase._fireError (vendor.js:54530)
    at OverlayPortal.NavControllerBase._failed (vendor.js:54523)
    at vendor.js:54570
    at t.invoke (polyfills.js:3)
    at Object.onInvoke (vendor.js:5134)
    at t.invoke (polyfills.js:3)
    at r.run (polyfills.js:3)
    at polyfills.js:3

​```