-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question : Can we set file path for DB on Android ? #927
Comments
@radex can you please share your thoughts on this? |
don't ask me, let's look at the code: Well, nope, it seems that this assumes one just wants to have the DB in the Databases folder. Compare that to the iOS implementation: Pull requests are welcome :) |
Thanks @radex . I have a working solution that actually creates *.db under a folder in the Files directory. I'm preparing for a PR; when I run the 'yarn run ktlint' command, it keeps failing with the following error :
Can you please guide me here ? I may be doing something wrong. |
Hello Guys,
On iOS, we are able to pass in a file path for the dbName to set up the database at a specific location; for example, in the shared directory of an App-Group.
Can we pass in a file path for Android? I tried and met with a few issues. I've used expo-file-system to create the directory under the 'Documents' direction on Android, but when I pass in the file path, the database isn't created. I get the following error:
Can you please guide me into solving this? Maybe this feature is not yet supported or I'm not doing something right.
The text was updated successfully, but these errors were encountered: