File component could not error

Sorry, but the Beta server still does not work, neither with Companion nor can the APK be built.

That is something @Diego needs to fix

1 Like

What about the 3rd point:

I suspect this will stay that way for now and will be changed after Kodular targets Android 11. Am I right?

The beta server targets Android 11 currently. The permissions are asked for the component. We need to implement conditional permissions from App Inventor in order to control the unnecessary permissions. Also, currently, the runtime permissions are requested for the whole function, i.e, the function arguments such as file names are not checked before requesting permissions. This needs to be fixed.

1 Like

I know, of course I didn’t mean the Beta server.

So to avoid permissions in the meantime, we can use the EFile extension from @vknow360 .

2 Likes

Yes, but there is another permission issue that needs to be fixed (→ read from assets):
Tested on Beta server (with the compiled app / APK):

After denying permissions:

… and after granting permission:

As I said, the .PermissionGranted event is not triggered. So I have to click the button again to get “true” at Label3.

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