Arcadier / Developer-Community-Support

:revolving_hearts: Share new ideas with us and report bugs/problems here
4 stars 1 forks source link

[Android] Broken MediaUrl when Uploading Media image #24

Open adelineDF opened 4 years ago

adelineDF commented 4 years ago

When calling the Update Media API for Android, this the response I get: [ { "ID":"180c2292-1ae1-451f-9a47-2ed314dce784", "MediaUrl":"https://platformxchain.arcadier.io71cc010c-a99e-48eb-bda6-08e2b954b093-x7ijbipv2c71cc010c-a99e-48eb-bda6-08e2b954b093-6f82cdd7-3095-4f" } ]

Whereas for iOS, it is like this: [ { "ID":"018aa90a-a2f2-4025-b7dc-9eb16f9fd7bd", "MediaUrl":"https://platformxchain.arcadier.iof24bd302-a081-4316-92b2-d99549a81b9a-jr8jo0a1xkprofile.png" } ]

The MediaUrl is lacking .png/.jpg for Android only. However, it is also a successful response. This causes the MediaUrl to be invalid when updating to user's profile.

Sample Request URLs both platform are using: Android: https://platformxchain.arcadier.io/api/v2/users/71cc010c-a99e-48eb-bda6-08e2b954b093/media?purpose=users

iOS: https://platformxchain.arcadier.io/api/v2/users/f24bd302-a081-4316-92b2-d99549a81b9a/media?purpose=users

Is there a reason why the .png/.jpg is missing for Android only? I have been using OkHttp to post the requests and it did not have this issue a few months back.

rachaelchin commented 3 years ago

Hi @adelineDF ,

We have identified that it is an issue related to Android only. We have logged it as a bug and you should be able to see the fix in the next release. For release dates, you can subscribe to our newsletter alerts or check on our product updates

Regards, Rachael from the product marketing team