Skip to content

Instantly share code, notes, and snippets.

@beginnerapps
Created February 18, 2024 16:44
Show Gist options
  • Save beginnerapps/abad5716b0bbe3c8d733ab68eadccfc0 to your computer and use it in GitHub Desktop.
Save beginnerapps/abad5716b0bbe3c8d733ab68eadccfc0 to your computer and use it in GitHub Desktop.
EnvironmentContext Android
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.Android
{
public sealed class EnvironmentContext : IEnvironmentContext
{
public Features.Environment.Environment Environment => Features.Environment.Environment.DEV; //Read Environment From Manifest!
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