Titanium JIRA Archive
Appcelerator Community (AC)

[AC-689] How to change the default sqllite db name in alloy project

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionWon't Fix
Resolution Date2016-03-10T18:20:35.000+0000
Affected Version/sAppcelerator Studio 4.4.0
Fix Version/sn/a
ComponentsAlloy
Labelsalloy, dbname, default, models, sqlite
ReporterYellowcube
AssigneeAminul Islam
Created2016-02-29T07:18:30.000+0000
Updated2016-03-10T18:20:35.000+0000

Description

I had two project with alloy framework and both using same database structure. Currently i didn't define the sqllite database name for the models and these two project is totally separate app. The problem is the data will overwrite each other app when two apps are install in same mobile device. So, is there any way to modify the default db name for the model in order to let two app run in same device without overwrite each other data.

Comments

  1. Mostafizur Rahman 2016-03-06

    Hello, Thanks for sharing with us. What is your alloy version? Are you using latest builds? It would be better if you can share a sample test case, test steps to reproduce the issue. I also suggest you to share your environment details. To do this, please open terminal type: *appc info*. Thanks
  2. Sharif AbuDarda 2016-03-10

    Hello, Currently this is not possible with Appcelerator. You will need two separate databases for separate apps.

JSON Source