How to use meta-data in manifest file instead of config in android app cloudinary?

Comments

1 comment

  • Avatar
    Francis Tagbo

    Hi Srikanth,

    I noticed that you have also created a support ticket for us.
    I will also write my response here.

    Generally, you should never expose your api_secret in client-side code and therefore you need to generate an authentication signature on your backend. We recommend Android signed upload with backend support should be implemented in conjunction with one of Cloudinary's backend frameworks (Java, .NET, etc).

    You can learn more about this in the documentation:
    https://cloudinary.com/documentation/android_image_and_video_upload#signed_upload

    If you like to use manifest, you can do an unsigned upload. Here is an example code:

    MediaManager.get()
    .upload(audioFile.toString())
    .unsigned("your_unsigned_upload_preset")
    .option("resource_type", "auto")


    Regards,
    Francis

    0
    Comment actions Permalink

Please sign in to leave a comment.