Android 11:
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.
Is there an asset named abc.txt
already there?
@bodymindpower I have fixed the bug with Exists block failing to check asset files. I will push it to the beta server soon.
Let me know when it’s done. I will then test it …
Beta server has been updated along with the companion app on the Play Store.
Thats great news…
Sorry, I didn’t get it.
-
Android < 10:
/Kodular/assets/abc.txt
-
Android ≥ 10:
/Android/data/io.makeroid.companion/files/assets/abc.txt
Absolute paths:
/storage/emulated/0/Kodular/assets/<fileName>
/storage/emulated/0/Android/data/io.makeroid.companion/files/assets/<fileName>
are you trying to say, the correct result should be true?
you are testing om the beta server and this does not work correctly on Android 9 but correctly on other Android versions?
unfortunantely I do not have beta server access, @pavi2410 can you please add me to the beta tester group?
Taifun
It means that once again we shall have to adjust our methods of getting absolute paths.
Please read this guide to join BetaKoders group: Become a Kodular BetaKoder!
We will invite you soon!