diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Controls/LicenseCell.xaml b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Controls/LicenseCell.xaml
index 2192cfc..deaed0b 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Controls/LicenseCell.xaml
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Controls/LicenseCell.xaml
@@ -7,7 +7,7 @@
-
+
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/QueriesPage.xaml b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/QueriesPage.xaml
index 7a0918b..b7821e0 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/QueriesPage.xaml
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/QueriesPage.xaml
@@ -31,16 +31,16 @@
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SettingsPage.xaml b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SettingsPage.xaml
index bcd1050..4b123db 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SettingsPage.xaml
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Pages/SettingsPage.xaml
@@ -34,7 +34,7 @@
-
+
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/ViewModels/SettingsViewModel.cs b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/ViewModels/SettingsViewModel.cs
index 11242a6..207c209 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/ViewModels/SettingsViewModel.cs
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/ViewModels/SettingsViewModel.cs
@@ -75,13 +75,23 @@ namespace Xamarin.Neo4j.ViewModels
Body = body
};
+ if (!Email.Default.IsComposeSupported)
+ {
+ await Application.Current.MainPage.DisplayAlert(
+ "No Email App", "No email client is configured on this device.", "OK");
+ return;
+ }
+
await Email.Default.ComposeAsync(message);
}));
Commands.Add("RateApp", new Command(async () =>
{
- await Launcher.Default.OpenAsync(
- new Uri("https://apps.apple.com/app/id1604368926?action=write-review"));
+ var url = DeviceInfo.Platform == DevicePlatform.Android
+ ? "https://play.google.com/store/apps/details?id=nl.resoftware.pocketgraph"
+ : "https://apps.apple.com/app/id1604368926?action=write-review";
+
+ await Launcher.Default.OpenAsync(new Uri(url));
}));
Commands.Add("ClearConnections", new Command(async () =>
diff --git a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.csproj b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.csproj
index 9fe3414..567013e 100644
--- a/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.csproj
+++ b/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j/Xamarin.Neo4j.csproj
@@ -1,7 +1,7 @@
- net10.0-ios
+ net10.0
true
latest
disable
@@ -20,6 +20,8 @@
+
+