Permissions please block sudden change

Why does the original permission in my app suddenly turn into a variable block when the original permission is asked, and this variable appears from nowhere
image

1 Like

Because with latest release 1.5.4 added in blocks editor dropdown blocks

See Kodular Fenix 🔥🐦 - #6

1 Like

But it’s still a string, unlike with AI2:

grafik

AI2:

grafik

2 Likes

@pavi2410 is this a bug or a feature?
Taifun

I think it’s a Big, because I have a permission problem

I tried with 3 ways

And when i Open compiled app it closes and gives me this error

(Obviolsly i tried 1 opción at time, inside onScreenIniti block)

More likely an i18n issue, but I’m investigating it.

Which components have you used in your project that requires GPS? That would help a lot

We inherited this bug from MIT AI. The fix for which is already on the upcoming major update.

1 Like

Correction. The isString? method seems to return an incorrect result, because it is not possible to connect the permission block to trim:

grafik

So until this bug is fixed, ask for permissions like this (before):

2 Likes

It’s going to be fixed with the major update. We’re very sorry for that!

1 Like

Fine, and please take a look at the bugs with the File component, which I mentioned many times.

1 Like

Same, it’s going to be fixed with the major update. It uses the enum blocks to bring the concept of various File Scopes as seen on AI.

Do you have test AIAs handy?

File.aia (704.2 KB)

1 Like

Hopefully not with the same bugs as AI2. :wink:

… and please do not introduce the DefaultFileScope like AI2 did. :pray:

It works great now.


File(1).apk (5.9 MB)

2 Likes

This is actually on the roadmap. Why is it bad?

Here is just a small selection of links / my posts I’ve made on the AI2 forums.
(I have pointed out these bugs / issues countless times):

https://community.appinventor.mit.edu/t/default-filescope-is-this-the-same-in-screen-and-file/44639/12?u=anke

https://community.appinventor.mit.edu/t/default-filescope-is-this-the-same-in-screen-and-file/44639/5?u=anke

1 Like

… and last but not least this one: