[MOD-2348] iOS: Encrypted Database upgrade-error when using Ti.Database
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2017-08-10T17:54:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Encrypted SQLite DB |
Labels | n/a |
Reporter | Victor Vazquez Montero |
Assignee | Christopher Williams |
Created | 2017-07-12T19:51:37.000+0000 |
Updated | 2017-08-10T17:55:08.000+0000 |
Description
Description
Customer upgraded to SDK 6.x from SDK 5.x and updated the SQLite Database Encryption modules from 1.3.1 to 2.0.2. Since the upgrade they are running into the following errors: error database is encrypted file doesn't exist error Since upgrading SDK's they had to open import the app in appcelerator which gave it a new GUIDAddition customer notes
App works perfectly fine on brand new install only on upgrade this issue is happening. App logs are provided previously. I am strongly suspecting that something has changed about DB password or database key that is causing this issue. Things changed in the app is - App GUID got changed. DB password in assets -> alloy -> sync -> enc.db.js is set to 'An excellent password can be used here, such as this string.'; and this has not changed in release.steps to reproduce
* create an app and encrypt the database using version 1.3.1 SDK 5.x * Upgrade to SDK 6.x and module version 2.0.2 ( at this step Appcelerator had them import the app which generated a new GUID for the application) * Run database and get errorsAttachments
File | Date | Size |
---|---|---|
LogOutputABC.rtf | 2017-07-12T19:51:20.000+0000 | 3303 |
LogsABC.rtf | 2017-07-12T19:51:20.000+0000 | 10906 |