Skip to content
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

Database file is not able to find in android? #30

Open
shivaraj-profecia opened this issue Mar 19, 2018 · 1 comment
Open

Database file is not able to find in android? #30

shivaraj-profecia opened this issue Mar 19, 2018 · 1 comment
Labels

Comments

@shivaraj-profecia
Copy link

No description provided.

@shivaraj-profecia
Copy link
Author

Hi Everyone,
I am using react-native-sqlite-2 plugin and i have created Db successfully and ii also got success in success callback but i am not able to find the created .db file in my android assets folder , even i have created www folder to root directory but i am not able to find db file in that also.

Here is my code..

const db = SQLite.openDatabase({name: "DOT_DB.db", createFromLocation : "~example.db", location: 'Library'}, 200000, this.openCB);
db.transaction(function (txn) {
  other code..........
  });
}); 

@shivaraj-profecia shivaraj-profecia changed the title not Database file is not able to find in android? Mar 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants