[MOD-2348] iOS: Encrypted Database upgrade-error when using Ti.Database
|Resolution||Not Our Bug|
|Components||Encrypted SQLite DB|
|Reporter||Victor Vazquez Montero|
DescriptionCustomer 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 GUID
Addition customer notesApp 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 errors