Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23861] SQLite Database Encryption Module not working on Andriod

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2016-09-04T05:57:47.000+0000
Affected Version/sRelease 5.4.0
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, encryption, sqlite
ReporterDonald Anderson
AssigneeShak Hossain
Created2016-08-30T16:15:27.000+0000
Updated2017-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

FileDateSize
Screen Shot 2016-08-30 at 5.03.44 pm.png2016-08-30T16:07:15.000+000073612

Comments

  1. Lee Morris 2017-03-29

    Closing ticket as duplicate, please refer to MOD-2291.

JSON Source