RushOrm icon indicating copy to clipboard operation
RushOrm copied to clipboard

Support for SQLChiper

Open gcalaprice opened this issue 9 years ago • 4 comments

Hi Stuart, have you ever thought to introduce the support for SQLChiper (https://www.zetetic.net/sqlcipher/open-source/) into RushORM? It might be an interesting feature! Bye!

gcalaprice avatar Jun 19 '15 15:06 gcalaprice

Hi,

Had not thought about that. No immediate plans to integrate it, it could probably be done by just writing a different implementation of this class.

https://github.com/Stuart-campbell/RushCore/blob/master/src/main/java/co/uk/rushorm/core/RushStatementRunner.java

This the the default Android one. Not a lot to it.

https://github.com/Stuart-campbell/RushOrm/blob/master/RushORM/rushandroid/src/main/java/co/uk/rushorm/android/AndroidRushStatementRunner.java

Thanks for the suggestion.

Stuart-campbell avatar Jun 20 '15 13:06 Stuart-campbell

Hi Stuart, I forked your repo and now I'm trying to build the entire project. I'm facing some issues expecially on submodules rushandroid and rushcore. Can you give me any tips on how to build correctly your project? Thanks!

gcalaprice avatar Jun 23 '15 20:06 gcalaprice

Yeah submodules are great in theory but not so much in practice.

If you use something like SourceTree and create a new repository from https://github.com/Stuart-campbell/RushOrm.git it will pull RushCore as well. Not sure of the exact git commands needed to do it on terminal. (I use mac so can't help with pc problems)

To build to jar I use a .pom files as it pulls all the source sets together which gradle did not seem able to do. You can do so with 'mvn install' in the root directory. (You need maven installed)

Otherwise it should open in Android studio. When importing you do need to select the RushORM folder that's in the same directory as LICENSE and README.

Then you should be able to run the example app and test. Note the tests are on the example app.

Hope that helps anymore questions just ask.

Stuart-campbell avatar Jun 23 '15 21:06 Stuart-campbell

Hi, thanks a lot. I've finally did it!

gcalaprice avatar Jun 24 '15 13:06 gcalaprice