Skip to content

Instantly share code, notes, and snippets.

@beginnerapps
Created February 18, 2024 16:43
Show Gist options
  • Save beginnerapps/0f3f6e47e5235677c7b4c46c71ab175f to your computer and use it in GitHub Desktop.
Save beginnerapps/0f3f6e47e5235677c7b4c46c71ab175f to your computer and use it in GitHub Desktop.
EnvironmentContext iOS
using BingoMania.Features.Environment;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BingoMania.Platforms.iOS
{
public sealed class EnvironmentContext : IEnvironmentContext
{
public Features.Environment.Environment Environment => Features.Environment.Environment.DEV; //Read Environment From PList!
public string DbPath => Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData), Constants.DataStore);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment