private static string GetLocalDBPath(string dbName, bool overwrite = false) { IFileHelper fileHelper = DependencyService.Get <IFileHelper>(); var dbPath = fileHelper.GetLocalFilePath(dbName); fileHelper.CopyDatabaseIfNotExists(dbPath, overwrite); return(dbPath); }