Open ananthrajsingh opened 6 months ago
Hi @ananthrajsingh,
You are right, the current functionality does not exist in the Kotlin SDK, I have opened an internal issue to fix it. For now, you can pass on the public id (with the folders in the path). We will keep you posted when the fix will be released.
Regards, Wissam
Sure, thanks for acknowledgement and starting the work towards it. Please do let me know once resolved.
@wissam-khalili @adimiz1 Any update on this?
@ananthrajsingh this is still in our backlog but no ETA at the moment. We will update you as soon as we have a fix.
@ananthrajsingh this is fixed so please update to the latest version and let us know if you still have issues.
Thanks @tommyg-cld for notifying. Will schedule an upgrade with the team and close the ticket if resolved.
When the URL to be processed contains
image/upload
, that should be dropped from path to remove duplicacy.For example: This URL
https://something.furlenco.com/image/upload/v1/bucket/products/5900/hero/1702711218.jpg
should be processed to
https://res.cloudinary.com/key/image/upload/dpr_1.0,named_trans,w_500/v1/bucket/products/5900/hero/1702711218.jpg?
(iOS SDK does this transformation, removingimage/upload
from the end path)But Kotlin SDK sends out this
https://res.cloudinary.com/key/image/upload/named_trans/c_scale,w_500/dpr_1.0/image/upload/v1/bucket/products/5900/hero/1702711218.jpg?
(notice a couple ofimage/upload
)Checking the iOS SDK, it does have logic to find and drop things like
image/upload..
Can you help me understand why is Kotlin SDK not equipped with a similar logic? Due to this we are not able use the same URL format for both Android and iOS clients.