You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2018. It is now read-only.
getBlob(path: string): Promise {
return new Promise((resolve, reject)=>{
this.platform.ready().then(() => {
window.resolveLocalFileSystemURL(path, (fileEntry)=> {
fileEntry.file(file => {
const fileReader = new FileReader();
fileReader.onloadend = (res: any) => resolve(new Blob([new Uint8Array(res.target.result)],
{type: 'image/jpeg'}));
fileReader.onerror = (error: any) => reject(error);
fileReader.readAsArrayBuffer(file);
});
});
});
});
}
window.resolveLocalFileSystemURL is not a function how to i fix
i tried calling platform.ready didnt work
The text was updated successfully, but these errors were encountered: