I want to add the photo taken by the user. The attachment needs to be directly sent to the feature service.
According to an example in edit feature attachment - it's done using selectedFeature.attachments.addAttachment but in my case it's not to be uploaded using the picture chooser. Something like featureTable.attachments.addAttachment
But that isn't working for me.