diff --git a/AppShell.xaml b/AppShell.xaml index 66d85ee..3d377c7 100644 --- a/AppShell.xaml +++ b/AppShell.xaml @@ -9,7 +9,7 @@ + ContentTemplate="{DataTemplate local:Views.DashboardPage}" + Route="Views.DashboardPage" /> diff --git a/Justice.csproj b/Justice.csproj index 33ff0ea..ad7f22a 100644 --- a/Justice.csproj +++ b/Justice.csproj @@ -60,8 +60,20 @@ - + + + + + + + + + + + + MSBuild:Compile + diff --git a/Justice.csproj.user b/Justice.csproj.user index cd723ee..8086bf7 100644 --- a/Justice.csproj.user +++ b/Justice.csproj.user @@ -2,9 +2,19 @@ False - net9.0-windows10.0.19041.0 - Windows Machine + net9.0-android + Samsung SM-M325F (Android 13.0 - API 33) + PhysicalDevice + Medium_Phone_API_35 + + ProjectDebugger + + + + Designer + + Designer diff --git a/Models/Location.cs b/Models/Location.cs new file mode 100644 index 0000000..cf7b1a6 --- /dev/null +++ b/Models/Location.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Justice.Models +{ + public class Location + { + public double Latitude { get; set; } + public double Longitude { get; set; } + public string ReadableAddress { get; set; } + } +} diff --git a/Models/User.cs b/Models/User.cs new file mode 100644 index 0000000..6515a9a --- /dev/null +++ b/Models/User.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Justice.Models +{ + public class User + { + public string Name { get; set; } + public string MobileNumber { get; set; } + public string Address { get; set; } + public string NationalIdentityNumber { get; set; } + public string NationalIdPath { get; set; } + public string Email { get; set; } + } + public class AuthorityUser : User + { + public string AuthorityCategory { get; set; } + public string IncidentCategory { get; set; } + public double Longitude { get; set; } + public double Latitude { get; set; } + } + +} diff --git a/Platforms/Android/AndroidManifest.xml b/Platforms/Android/AndroidManifest.xml index e9937ad..eb133c1 100644 --- a/Platforms/Android/AndroidManifest.xml +++ b/Platforms/Android/AndroidManifest.xml @@ -1,6 +1,8 @@  - + + + \ No newline at end of file