mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 06:26:02 +00:00
Test
This commit is contained in:
parent
a304207ad5
commit
0ebf411b17
1 changed files with 3 additions and 5 deletions
|
|
@ -4,10 +4,10 @@ using System.IO;
|
||||||
using Foundation;
|
using Foundation;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
[assembly: Xamarin.Forms.Dependency(typeof(AideDeJeu.Droid.Version_Android))]
|
[assembly: Xamarin.Forms.Dependency(typeof(AideDeJeu.iOS.Version_iOS))]
|
||||||
namespace AideDeJeu.Droid
|
namespace AideDeJeu.iOS
|
||||||
{
|
{
|
||||||
public class Version_Android : INativeAPI
|
public class Version_iOS : INativeAPI
|
||||||
{
|
{
|
||||||
public string GetVersion()
|
public string GetVersion()
|
||||||
{
|
{
|
||||||
|
|
@ -26,8 +26,6 @@ namespace AideDeJeu.Droid
|
||||||
public async Task<string> GetDatabasePathAsync(string databaseName)
|
public async Task<string> GetDatabasePathAsync(string databaseName)
|
||||||
{
|
{
|
||||||
return NSBundle.MainBundle.PathForResource(databaseName, "db");
|
return NSBundle.MainBundle.PathForResource(databaseName, "db");
|
||||||
//var databasePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "..", "Library", databaseName);
|
|
||||||
//return databasePath;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue