title: ERROR Error: Uncaught (in promise): Asset '/storage/emulated/0/DCIM/Restored/IMG_20200115_103131.jpg' cannot be found
body: <p>Working on nativescript application and need to access image and convert it into base64.</p>
  <pre><code>.then(function(selection) {
      selection.forEach(function (selected) {
          imageSourceModule
          .fromAsset(selected)
          .then((imageSource) =&gt; {
              var imageBase64 = imageSource.toBase64String(&quot;jpg&quot;,60);
              console.log(imageBase64);
  </code></pre>