title: Adding AndroidPermissions plugin to ionic project and get an error
body: <p>I want to add AndroidPermissions and UniqueDeviceID plugins to my project. But when I run the project I get the following error.</p>
  
  <pre><code>Uncaught (in promise): TypeError: Object(...) is not a function
  TypeError: Object(...) is not a function
      at AndroidPermissions.checkPermission (index.js:182)
  </code></pre>
  
  <p>This is the details of my project:</p>
  
  <pre><code>Angular CLI: 8.3.19
  Node: 12.13.0
  OS: win32 x64
  Angular: 5.2.11
  ... animations, common, compiler, core, forms, http
  ... platform-browser, platform-browser-dynamic
  
  @angular-devkit/architect 0.803.19
  @angular-devkit/build-optimizer 0.0.35
  @angular-devkit/core 8.3.19
  @angular-devkit/schematics 8.3.19
  @angular/cli 8.3.19
  @angular/compiler-cli 8.2.14
  @schematics/angular 8.3.19
  @schematics/update 0.803.19
  rxjs 5.5.11
  typescript 2.6.2
  webpack 3.12.0
  </code></pre>
  
  <p>C:\projeler\ohsmobile>ionic -v
  5.4.6</p>