Good morning I need a configuration file to be installed together when installing my application on Android. In testing, I'm not getting the file to be installed together, any tips on how to do this?
Add the config file to your Files tab, and it should be installed together when you install or update your application.
Although I do remember some strangeness when updating in debug mode, so if you find that the config file on the phone is not updated, try uninstalling the app and running/installing it again.
Your installed file will be available in the project File.DirAssets folder but it is important to remember that this folder is read-only. If your config file is to be updated with app setting values you need to copy it from File.DirAssets to File.DirInternal folder where it can be modified (xui.DefaultFolder is the same folder)
If you are using an SQLite database, even just to read from, this cannot be in the Assets folder as it requires a 'Journal' file to be created alongside it to operate correctly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.