Closed Muhammad-Afzal-payactiv closed 3 years ago
i got the solution this one is solution try { // console.log( "converted",this.webview.convertFileSrc(uri)); (window as any).resolveLocalFileSystemURL(this._file.applicationDirectory + "www/regula.license", (fileEntry) => {fileEntry.file( (file) => { var reader = new FileReader(); reader.onloadend = (evt) => { let base64String = evt.target.result; }; reader.readAsArrayBuffer(file); });}, function(e){console.log("error:" + JSON.stringify(e));}); } catch (error) { console.log('NativeUploaderByURI:',error); }
Any one help to resolve this issue