![]() ![]() In place of the 2 we tried 1, 3, 4, default, library, databases, /data/data//my_db.db data/data//my_db.sqliteĪlso tried in the formats like SQLite.openDatabase(, this.openCB, this.errorCB) Ĭonsole.warn('Failed to touch the db file', err)Ĭonsole. Any ideas on how to debug this? These are only a small subset of what I tried SQLite.openDatabase(Ĭonsole.log("OPEN DATABASE ERROR : " + error) I have tried every possible combination I can think of and it always just returns failed to open database. What Is SQLite SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. ![]() Open a database, creating it if it doesnt exist, and return a Database object. Depending on your instructions in openDatabase call, the sqlite-storage will look. SQLite.openDatabase (name, version, description, size, callback) Name of the database file to open. ![]() localFileName 'open-streets-dc.mbtiles' db window.openDatabase (localFileName, '1', 'my', 1024 1024 100) It will create a new db in Web SQL and I can browse on it with chrome. Every device we test SQLite.openDatabase on works fine except galaxy s10. Full featured SQLite3 Native Plugin for React Native (Android and iOS). Open a SQLite file and read it with openDatabase. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |