Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6349] iOS: Read database from the Resources folder

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 1.7.5, Release 1.8.0.1
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterKarol Pomaski
AssigneeEric Merriman
Created2011-11-29T06:55:07.000+0000
Updated2018-08-02T17:31:46.000+0000

Description

New feature request

Please add the possibility of running the .db (read only) file from the Resources folder. For now the Ti.Database.install copies the .db file and leaves the old under Resources which makes the app to weight too much. For example having 50MB of read only database makes the app to weight 100MB.

Comments

  1. Greg Pierce 2012-01-26

    This is a pretty significant issue for a large DB. Initial startup times are horrendous and corruption problems requiring delete/reinstall of the app are not uncommon.
  2. Jeevan Takhar 2012-01-26

    Co-sign. Having to install read only databases is a waste of disk space.
  3. Vincent 2012-07-12

    I agree, I wish I could read my database directly from the app bundle.
  4. Ricardo Arguello 2012-07-12

    Please implement this. I develop dictionaries and the pre-installed databases are huge! Even when zipping the files, the duplicity in space is a waste of space. Thanks!

JSON Source