How does react native get the base64 code of the picture according to the url of the picture in the mobile phone?

1, I got the address of the local picture on my phone through imagepicker. How can I get its base64 code?
the json structure of the image address is as follows:

"height": 218,
"url": "content://media/external/images/media/2522",
"width": 341,

Thank you!

Mar.07,2021

is converted by itself and sent back to the js side.
it seems that the react native imagepicker component can already get the base64 format

Menu