ImagePickers Base64 functionality not working as expected.

Please provide the following:

  1. SDK Version: 41.0.1

According to the docs, setting base64 to true in the options object for Imagepicker.launchImageLibraryAsync(options) should include the base 64 image data. However when base64 is set to true I only get the base64 and I don’t get any of the other data type: ‘image’, uri, width, height, that I need. From what I understand it should return base64 in addition to uri etc.

Anyone know how I can get both?

Solved. My console was truncating the response and the base64 was the first property in the object so it’s all that I could see visually. console.log(result.uri) did in fact return the uri as expected.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.