Upload photo on Android device with wrong time
y-polek opened this issue · 2 comments
One of my users has wrong time settings on his Android device (and he doesn't want to change them).
Because of this, requests on his device finishes with "Stale request" error.
Is it possible to bypass this problem somehow and get Cloudinary to work on devices with wrong time?
Hi,
While using signed upload with Cloudinary Android SDK, the signature method must use the current device timestamp.
To overcame your issue you have 2 options:
-
Unsigned upload - This method allows uploading directly from your Android application to Cloudinary with no predefined authentication (So there is no need for timestamp). Please note that you will need to specify a preset in your Cloudinary admin panel to handle these uploads.
-
Generating the HTTP/S request and the signature by yourself - Manually generate the signature at your server (This helps to keep your api_secret safe) and upload the image with Cloudinary RESTful API from your Android application.
Please let me know if you need any further assistance with this
Closing this issue due to the time elapsed. Please feel free to either re-open the issue, contact our support http://support.cloudinary.com or create a new ticket if you have any additional issues.