I'm developing a moodle plugin where we want to have students add entries including a text, date and a picture. It's working on web but we wanted to bring it into the mobile App. I'm not getting file uploads to work here, what do I have to do? I can't find anything in the documentation regarding file uploads from the app.
I have a mustache template including a file input:
<ion-label id="image" color="primary" stacked>Bild hinzufügen</ion-label>
<ion-input [(ngModel)]="CONTENT_OTHERDATA.file" type="file" accept="image/*" ></ion-input>
But the file is not send to the webservice. In the screenshot you can see, its just some kind of path that gets send to the api.
Can you help?