2016-08-09 19 views

回答

1

使用sqlcipher的更簡單的方法是找到一個正在使用它的Cordova插件。

人們似乎是爲做了一個插件: https://github.com/litehelpers/Cordova-sqlcipher-adapter

但它似乎不是很穩定。我希望它有幫助。

+0

我已經添加github使用, git克隆https://github.com/sqlcipher/sqlcipher.git 進一步什麼我必須做的是爲了引用我的sqlite數據庫? –

+0

你可以在這裏看到這裏的文檔:https://github.com/litehelpers/Cordova-sqlcipher-adapter#opening-a-database。這不是您需要克隆的庫,而是cordova插件。你只需要做:'如果你安裝了cordova,'cordova插件添加https:// github.com/litehelpers/Cordova-sqlcipher-adapter'。 – e666

相關問題