Thinkwise / cordova-plugin-websql

Cordova WebSQL plugin for Windows Phone
4 stars 9 forks source link

Investigate an "Any CPU" build #12

Open JamesMessinger opened 9 years ago

JamesMessinger commented 9 years ago

/attn @DickvdBrink

It would be nice not to have to specify --archs="x86 arm" on every build. This seems to trip people up a lot. It's one of the most frequently-asked questions I get on cordova-plugin-indexeddb-async.

If you have the time, could you check to see if there's a way to build an "Any CPU" version? Even if the "Any CPU" is really just the ARM build or something. I'm not sure how the MSOpenTech WebSQL plugin does it, but theirs doesn't require --archs="x86 arm"

DickvdBrink commented 9 years ago

Will try to investigate it but they use Community.CsharpSqlite as a base which is kind of a reimplementation of SQLite in C#.

This projects uses the native sqlite library which are different for x64/x86

Edit: Should have mentioned why we use the native libs for this project and not the CSharpSqlite ones.. That is for performance reasons, with our load on the local database it became very slow which didn't occur with the native libs

JamesMessinger commented 9 years ago

Ah, ok. I didn't realize you were using a whole different SQLite codebase than they are. I thought you were just using a patched version of the same codebase.