public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); string folderPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); string dbPath = Path.Combine(folderPath, "wineot.sqlite3"); SQLiteService.SetupDatabase(dbPath, new SQLite.Net.Platform.XamarinIOS.SQLitePlatformIOS()); Console.WriteLine(dbPath); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); string folderPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); string dbPath = Path.Combine(folderPath, "wineot.sqlite3"); SQLiteService.SetupDatabase(dbPath, new SQLite.Net.Platform.XamarinAndroid.SQLitePlatformAndroid()); Console.WriteLine(dbPath); SvgImageRenderer.Init(); LoadApplication(new App()); }