iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I'm trying to get SQLight to work in Android but keep getting the message:
System.Exception: The SQLite platform service is not initialized. Please make sure the Intersoft.Crosslight.Data.SQLite.[platform] is referenced in your project.I have the following code in my core AppServices.cs:
ServiceProvider.AddService<ISQLiteService, SQLiteService>();
Type[] types = new Type[] { typeof(UserData) };
ISQLiteService service = ServiceProvider.GetService<ISQLiteService>();
ISQLiteAsyncConnection connection = service.OpenDefaultConne
I have added using Intersoft.Crosslight.Data.SQLite;using Intersoft.Crosslight.Data.SQLite.Android;
to the Android Project and put the refrences in the AppInitalizer.cs
This also happens with iOS, same message.
Crosslight 2 SimpleExpense sample project uses SQLite. I tested this project using Crosslight 2 build 90 (can be downloaded in here on Android platform and find that everything worked smoothly and the application was accessed without any issues.
If you are using older version, could you please try to update and re-test using SimpleExpense sample project (the sample can be downloaded from here). Should the issue persist, please feel free to let us know so that we can assist you further.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname