[TIMOB-23861] SQLite Database Encryption Module not working on Andriod
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2016-09-04T05:57:47.000+0000 |
| Affected Version/s | Release 5.4.0 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | android, encryption, sqlite |
| Reporter | Donald Anderson |
| Assignee | Shak Hossain |
| Created | 2016-08-30T16:15:27.000+0000 |
| Updated | 2017-03-29T22:10:28.000+0000 |
Description
When trying to use the encrypted database module with the provided example app on Android I get the following error.
[ERROR] : TiExceptionHandler: (main) [539,539] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,539] - In alloy/sync/enc.db.js:113,36
[ERROR] : TiExceptionHandler: (main) [0,539] - Message: Uncaught TypeError: Object # has no method 'cipherUpgrade'
[ERROR] : TiExceptionHandler: (main) [0,539] - Source: var cipherUpgraded = _database.cipherUpgrade(dbName);
[ERROR] : V8Exception: Exception occurred at alloy/sync/enc.db.js:113: Uncaught TypeError: Object # has no method 'cipherUpgrade'
seems to work fine on iOS.
Attachments
Closing ticket as duplicate, please refer to MOD-2291.