Question about Taifun File extension

It works. thank you very much

This is the path to the assets on Beta server for API < 29 (→ Companion).

So this path is changed for the second time: :upside_down_face:

  • /storage/emulated/0/AppInventor/assets/
  • /storage/emulated/0/Makeroid/assets/
  • /storage/emulated/0/Kodular/assets/

The path to assets for API ≥ 29 (→ Beta server) is:

/storage/emulated/0/Android/data/io.makeroid.companion/files/assets/

1 Like

thank you… good to know…
I will do another update as soon as the new version goes in production…

still some makeroid inside…
@Kodular why not publishing the companion app as io.kodular.companion ?

Taifun

Yes, good question.
But it would be just as good to ask why not leave it at “Makeroid” for Android < 10, instead of changing this for the second time and causing confusion (not least with regard to extensions).

Likely because they’d have to republish it.

1 Like

See also here:

Exactly what @hammerhai said:

and where exactly is the problem to republish it?
Taifun

The assets are stored just like App Inventor now, except that “AppInventor” in the path has been replaced by “Kodular” in order to prevent conflicts with the MIT App Inventor companion.

Edit:
Every occurrences of “Makeroid” has now been replaced with “Kodular”

1 Like

@Boban @bodymindpower @Taifun Could you please test the asset path behaviour with the beta server? I need to ensure that changes made for Android 11 requirement don’t break the functionality.

1 Like

@pavi2410 please first describe, what exactly has been changed and for which Android versions
@bodymindpower it seems to be, you are testing with a device older than Android 10? it might be easier to understand your test results if you could add, whether the result of a test was as expected or not…

Taifun

Android 11:

1 Like

To be precise:

  • First of all, Makeroid has been dropped in favour of Kodular name, except the package name.
  • As part of the changes to fulfill the Android 10/11 File restrictions, from Android 11 onwards, assets are saved to app’s private storage in the companion mode, i.e, /Android/data/io.makeroid.companion/files/assets/ as found out by @bodymindpower
  • For devices below Android 11, it resides under /Kodular/assets/ directory.
2 Likes

Thank you very much for your help and support, @bodymindpower !

1 Like

Is there an asset named abc.txt already there?

1 Like

@bodymindpower I have fixed the bug with Exists block failing to check asset files. I will push it to the beta server soon.

1 Like

Let me know when it’s done. I will then test it …

1 Like

Beta server has been updated along with the companion app on the Play Store.

2 Likes

Thats great news… :star_struck: