I have this function const fileTransfer = new Transfer(); var optFileLicencia:any; var url="http://developerwym.com.ve/enki/recibirImg.php"; //fotoLicencia optFileLicencia= { fileKey: 'imagen', fileName: this.fotolicencia, headers: {} } fileTransfer.upload(url, this.fotolicencia, optFileLicencia) .then((data) => { alert("subido"); }, (err) => { // error alert("Error"); })
to upload the photo to the server, but I have problems with the direction of the photo.