They saved there files in raw data folder which is not accessible by any user else they extract apk into zip.
But you can’t do thus in kodular.
Hope you got your solution
They saved there files in raw data folder which is not accessible by any user else they extract apk into zip.
But you can’t do thus in kodular.
Hope you got your solution
Ok thanks
I’ll think about setting images and videos sources to online so that anyone can edit or delete them
But is there any extension i can made can do such thing?
What are you talking about here? It seems to me that everyone wants to contribute without knowing what they are actually talking about.
Some examples:
“root directory” of what?
What is that supposed to be?
See also here:
Thanks for your reply
I’m not so good at english that’s why i can’t describe well what i want sorry
I can store downloaded assets here and the user can’t access to it?
i mean he can find the folder where i downloaded assets which is /data/user/0/<packageName>/files/
or not
Yes, try to copy / save the files in the private directory of the internal storage:
/data/user/0/<packageName>/files/
Only with a rooted device.
Here’s what i want :
I upload every asset i need to Firebase Storage, then when the user opens the game, it appears the home menu and Play button, then the game will check if assets are downloaded or not, if not, it will appear a notifier that says “You need to download required assets” if the user accepts it will download them in /data/user/0/<packageName>/files/
and every image or video or any component will have the source link to the folder where all assets are stored
I can do that or not, is that possible?
Thanks
Ok but i just want to know if this path is accessible for Firebase Storage component
I don’t know if there is a component or extension that can download files directly to the private directory. (You would probably be the first to try this. )
Otherwise, you can try to download the files to the ASD (app-specific directory), then copy them to the Private directory and (after copying) remove them from the ASD.
Then a user would only have access to these files (just like the files in the assets) if he had rooted his device.
@youssef_achour Btw, this procedure should actually get along completely without permissions (READ / WRITE) if Kodular would handle it the way Google intended.
I don’t understand what you mean
Means i can do that without permissions yes ?
Yes, that’s how it should be.
With Android 11 at the latest, this must also be implemented by Kodular, since then the ASD (but also now under Android 10) is of outstanding importance.
Thanks a lot
But can you tell me what is the path for the ASD and how to copy files after downloading
Thanks for your help