I have a Unity project built for Android, which uses an SQLite database. But, when i switched platforms to UWP i get these errors:
Reference to type 'Component' claims it is defined in 'System', but it could not be found
Reference to type 'ICloneable' claims it is defined in 'mscorlib', but it could not be found
I read that this is because of the incompatibility of the SQLite libraries with UWP. So, i couldn't use System.Data
and Mono.Data.SQLite
.
The only solution i could find was to use SQLite4Unity3D
as per this link:
https://github.com/codecoding/SQLite4Unity3d
But with this i could not find a replacement for Read()
function in DataReader
, to read data row by row.
What is the best possible solution to this?