[TIMOB-7103] MobileWeb: Add support for installing SQLite databases in Ti.Database.install()
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2012-04-25T16:40:22.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | mw-list |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-01-11T12:25:24.000+0000 |
Updated | 2014-01-28T23:23:13.000+0000 |
Description
Implement the Ti.Database.install() method. It needs to check if database exists, if not, synchronously download and populate the data.
During compile type, compiler.py will need to find all SQLite databases in the Resource directory and convert them to a JavaScript file to be downloaded via require(). The contents of the file is a JSON object wrapped in a define() call.
Mobile web is unable to implement Ti.Database and will never be implemented.