How do you Convert Signature to Base64 with KIO4 CanvasToBase64 – Firebase Error Help?

Hi, I have a question. I'm using Juan's KIO_BASE641 extension and I was thinking of adding a signature. I mean, I'd sign it on a canvas and then convert it to Base64 to add it to a Firebase dictionary. But when I try to do it with his "CanvasToBase64" component and my SignatureImage, I get the following error: "com.google.appinventor.components.runtime.Canvas$CanvasView.buildCache
Note: You will not see another error reported for 5 seconds."
Could someone help me or give me some advice, please?

Try this:

canvasbase64Test.aia (7.8 KB)

This is working OK for me on Pixel 8a Android 16 with Companion app.

(I wrote the code for Juan's Base64 extension for the canvas to base 64, I use the standalone extension in the above project)

When/Where does the firebase error occur ?

I have seen that if you convert it to base64, do you think that if the resulting string is transformed into an image with KIO4_Base64 it works?

Your answer was very good, with the example you gave me I was able to search and download the extension and it did convert it to Base64, but now that I've put it in my Firebase and I want to call it again through Firebase.AfterPicking to convert that Base64 back into a Canva, it doesn't work for me, could you help me again please?

Not sure why, but the canvastoBase64 method in Juan's extension does not seem to be working correctly.

You can work around this by using my standalone extension for this, and you could also use my standalone extension for ImageToBase64.

Example aia:

canvasbase64Test2.aia (15.1 KB)