Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7103] MobileWeb: Add support for installing SQLite databases in Ti.Database.install()

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2012-04-25T16:40:22.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsmw-list
ReporterChris Barber
AssigneeChris Barber
Created2012-01-11T12:25:24.000+0000
Updated2014-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.

Comments

  1. Chris Barber 2012-04-25

    Mobile web is unable to implement Ti.Database and will never be implemented.

JSON Source