Hello.
I need to push file apk to s3
validates :payload, attachment_content_type: { content_type: ["application/vnd.android.package-archive"] }
this is my validates file.
and this return: ActiveRecord::RecordInvalid - Validation failed: Payload content type is invalid, Payload is invalid:
if i change content type to application/zip. it can upload. but when i download. this is a zip file. But i need to apk file.
Can you help me fix this issue?
Hello. I need to push file apk to s3 validates :payload, attachment_content_type: { content_type: ["application/vnd.android.package-archive"] } this is my validates file. and this return: ActiveRecord::RecordInvalid - Validation failed: Payload content type is invalid, Payload is invalid: if i change content type to application/zip. it can upload. but when i download. this is a zip file. But i need to apk file. Can you help me fix this issue?