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

Siaqodb and IOS mobile app

$
0
0

I am trying to use the last version Siaqodb for a cross-platform mobile app. For Android, everything works fine, but I encountered some problem with IOS. I installed the last version from nugget (4.0.2.29) and I am using an example from Siaqodb documentation http://siaqodb.com/tutorial2/.

`class SiaqodbFactory
{
private static Siaqodb instance;

   public static Siaqodb GetInstance()
   {
          if (instance == null)
          {
                 string dbPath= Environment.GetFolderPath (Environment.SpecialFolder.Personal);
                 instance = new Siaqodb(dbPath);
          }
          return instance;
   }

}`

And I am getting error “Cannot resolve symbol Siaqodb” in line “ instance = new Siaqodb(dbPath);”
In the IOS project references I can see only SiaqodbPortable but this package consists only ISiaqodb interface and doesn’t consist Siaqodb class. For instance, the Android project references consist SiaqodbPortable and Siaqodb (MonoAndroid) and I don’t have any problem to instantiate Siaqodb.

Maybe anybody knows what I am doing wrong?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



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