0

I have a kotlin app and I need to transfer an image file from native to flutter. I am new to the kotlin side but good with flutter. How should I approach this?

Mirana
  • 37
  • 4

1 Answers1

2

How about transfer image data in base64 string format,

In Kotlin side, encode the image file data into base64 format,

In Flutter side, decode the base64 string to image,

I think it is the normal way to transfer images or other files between different Languages

MurphLu
  • 51
  • 3