I checked out Bugs in Kodular Eagle before creating a new topic
Describe your issue
in some mobile file not create using file component
Steps to reproduce the issue
give me asset or storage path for store file
I checked out Bugs in Kodular Eagle before creating a new topic
in some mobile file not create using file component
give me asset or storage path for store file
How about showing us some blocks on how you are doing it etc…
Which ones
in vivo mobile file not create
Sorry that phone is unfamiliar to me
Your blocks look ok, don’t know if that’s the case but did you grant write permission
this can be a possible reason.
Although your blocks will only work if 123.txt
already exists because you are using Append To File
block.
It will be created if don’t exist
Just a guess, Android 10
Yes you are right.
issue is file not create
is this an Android 10 device? up to now we only have a guess…
you are not allowed to store your file in a directory of your choice anymore…
try to remove the slash to store it in the private directory of the app
Taifun
You must ask for WRITE_EXTERNAL_STORAGE permission, because the File component does not ask for it automatically.
I really don’t know how many times I’ve reported this issue (bug) since September 2019:
So try this:
Build the APK and check it on your Android 10 device.
On my test devices with Android 10 it works fine.
Yes, that’s right, but that only applies if you target API 29 (Android 10):
targetSdkVersion = 29
.
And this is not possible with Kodular at the moment, without adjusting the Manifest.
https://developer.android.com/training/data-storage
Scoped storage
To give users more control over their files and to limit file clutter, apps that target Android 10 (API level 29) and higher are given scoped access into external storage, or scoped storage, by default. Such apps have access only to the app-specific directory on external storage, as well as specific types of media that the app has created.
thank you, you are correct… (as always… )
if you want to remind our Kodular friends, then just tag them like this @Kodular …
Taifun
Whats the Issue exactly in details?
I can look into it tomorrow
As I said, the issue (bug) is, that
Here is now a list with the block names and if they ask for permission:
I will edit this post if there was any progress done on these blocks to let them ask herself the needed permission
Thanks!
On this occasion: another bug of the File component is that it is not possible to copy a file from the assets to the external storage (with the compiled app / APK, Companion works). I have also reported this bug many times. @Mika
What’s the problem with the block?
Missing permission? Any details? Then I can look into that too.