Skip to content

SQLitePCL on iOS without Xamarin #545

Answered by varondel
varondel asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

Thank you all for your replies.

We finally managed to make it work on Ipad.
Using the dll inside the bundle "SQLitePCLRaw.bundle_sqlite3" did the trick. I missed this bundle in the nuget explorer of VisualStudio... it was always proposing bundle green or e_sqlite3 but not sqlite3.

This way we don't need to import e_sqlite3.dll in our project, it's targeting the native SQLite libs of iOS
We also still use Microsoft.Data.SQLite to open the connection to the database. It does all the initialization of the batteries and provider on its own. So it's all good.

@bricelam We added this in our link.xml but I'm not even sure if its necessary.
assembly fullname="SQLitePCLRaw.batteries_v2" pre…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@bricelam
Comment options

@bricelam
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by varondel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants