In this thread, resolved by our colleagues: What is the best image selector? - #40 by Taifun
I encountered the following issue. When I use the companion to select an image from the gallery, it appears and saves to Cloudinary. When I do this via the APK, the screen goes black, freezes, and nothing appears, not even the “Wait” or “Close app” messages.
For photos, I can take, display, and send them to Cloudinary via the companion or the APK.
See the steps below.
I used android.intent.action.GET_CONTENT instead of android.intent.action.PICK. In this one, the image appears, but it doesn’t send the photo to Cloudinary, and a message appears asking if I want to wait or close the app. This is all in the apk.
If anyone wants to test it, follow the aia. imagens.aia (409.7 KB)
Unfortunately, Kodular and the Cloudinary component lack a block to report loading errors.
Use screen1.errorOccurred without a conditional and see if it gives you anything.
I’ll respond to both of you, Gianluca and Gaston.
Gianluca, I’m not using the Image Editor component.
Gaston, the Initialize and Permission Granted blocks:
In this IsPermissionGranted Permission condition, you used Niotron. In Kodular, would it be Are Permissions Granted?
Another thing, was this test you ran on the companion or the APK?
According to you, I said to stop messing with Android 15. What did you mean by that?
I’ve seen apps on the Play Store stating that they only support Android up to, for example, 11. Is there a way to limit this?
I removed the image editor from the project, compiled the APK, and although the message no longer appears, I still get the same error. When I click on the image in the photo gallery, it freezes for a while and then the screen goes dark.
Even if you’ve already solved the problem and the answer to @RaYzZz is the same as the one I gave you before, good for that.
It always compiles on the highest API version, what you can limit is which one onwards.
Nio*tron allows you to choose both parameters, but kodular does not.