title: Cannot read property 'split' of undefined in ionic image upload
body: <p>I tried testing my ionic image upload app in browser but since I can not upload image due to cordova_not_available been displayed on the screen, every time I click ed on the upload button this error pop up <strong>Cannot read property 'split' of undefined</strong></p>
  
  <p>in my upload.ts i have this</p>
  
  <pre><code>let filename = this.imagePath.split('/').pop();
  </code></pre>