remove reject of the headets

This commit is contained in:
Eudes Inácio
2023-10-25 09:08:49 +01:00
parent f92cdc5816
commit 97d86455cf
17 changed files with 108 additions and 71 deletions
@@ -86,6 +86,7 @@ export class NewPublicationPage implements OnInit {
imgResultBeforeCompress: string;
imgResultAfterCompress: string;
convertBlobToBase64Worker;
intent: any;
constructor(
private modalController: ModalController,
@@ -107,12 +108,17 @@ export class NewPublicationPage implements OnInit {
this.folderId = this.navParams.get('folderId');
this.publication = this.navParams.get('publication');
this.publicationTitle = 'Nova Publicação';
this.intent = this.navParams.get('intent');
this.convertBlobToBase64Worker = new Worker(new URL('./convertBlobToBase64.worker.js', import.meta.url));
}
ngOnInit() {
if(this.intent) {
this.capturedImage = 'data:image/jpeg;base64,'+this.intent;
}
this.setTitle();
Filesystem.mkdir({
path: IMAGE_DIR,