Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Using singleton pattern for creating SQLiteConnection in Xamarin.forms is not working for iOS.

$
0
0

I've created xamarin.forms app.
In portable project, I'm creating SQLiteConnection using singleton pattern and I'm using this connection in platform specific projects.
On android it works perfectly fine, but on iOS, the app fails with exception "SQLite.SQLiteException: Could not open database file".


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>